[INFO] fetching crate easy-imgui 0.8.0... [INFO] checking easy-imgui-0.8.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate easy-imgui 0.8.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate easy-imgui 0.8.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate easy-imgui 0.8.0 [INFO] finished tweaking crates.io crate easy-imgui 0.8.0 [INFO] tweaked toml for crates.io crate easy-imgui 0.8.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding approx v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding easy-imgui-sys v0.8.0 (available: v0.9.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46469678114c78d12526d1031a8549469b161e0b03ffefbf857448de6e506afe [INFO] running `Command { std: "docker" "start" "-a" "46469678114c78d12526d1031a8549469b161e0b03ffefbf857448de6e506afe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46469678114c78d12526d1031a8549469b161e0b03ffefbf857448de6e506afe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46469678114c78d12526d1031a8549469b161e0b03ffefbf857448de6e506afe", kill_on_drop: false }` [INFO] [stdout] 46469678114c78d12526d1031a8549469b161e0b03ffefbf857448de6e506afe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c592deb318335a20c2fbdbdeabd1def4e9d48baa5b06d1f079e12bb6037b5748 [INFO] running `Command { std: "docker" "start" "-a" "c592deb318335a20c2fbdbdeabd1def4e9d48baa5b06d1f079e12bb6037b5748", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling xshell-macros v0.2.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling xshell v0.2.6 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling easy-imgui-sys v0.8.0 [INFO] [stderr] Checking easy-imgui v0.8.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `easy_imgui` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:889:91 [INFO] [stderr] | [INFO] [stderr] 889 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr_2021),)*) ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:908:91 [INFO] [stderr] | [INFO] [stderr] 908 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr_2021),)*) ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:935:42 [INFO] [stderr] | [INFO] [stderr] 935 | $arg:ident ($($ty:tt)*) ($pass:expr_2021), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:964:28 [INFO] [stderr] | [INFO] [stderr] 964 | ($name:ident: $ty:ty = $expr:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:989:42 [INFO] [stderr] | [INFO] [stderr] 989 | $arg:ident ($($ty:tt)*) ($pass:expr_2021), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:1399:80 [INFO] [stderr] | [INFO] [stderr] 1399 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr_2021)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:1471:80 [INFO] [stderr] | [INFO] [stderr] 1471 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr_2021)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 206 | fn merge_generation(id: usize, gen: usize) -> usize { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:210:6 [INFO] [stdout] | [INFO] [stdout] 210 | (gen << GEN_ID_BITS) | id [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 212 | fn remove_generation(id: usize, gen: usize) -> Option { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:213:32 [INFO] [stdout] | [INFO] [stdout] 213 | if (id >> GEN_ID_BITS) != (gen & GEN_MASK) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:889:97 [INFO] [stdout] | [INFO] [stdout] 889 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr),)*) ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 889 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr_2021),)*) ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:908:97 [INFO] [stdout] | [INFO] [stdout] 908 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr),)*) ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 908 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr_2021),)*) ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:935:48 [INFO] [stdout] | [INFO] [stdout] 935 | $arg:ident ($($ty:tt)*) ($pass:expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 935 | $arg:ident ($($ty:tt)*) ($pass:expr_2021), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:964:34 [INFO] [stdout] | [INFO] [stdout] 964 | ($name:ident: $ty:ty = $expr:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 964 | ($name:ident: $ty:ty = $expr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:989:48 [INFO] [stdout] | [INFO] [stdout] 989 | $arg:ident ($($ty:tt)*) ($pass:expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 989 | $arg:ident ($($ty:tt)*) ($pass:expr_2021), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:1399:86 [INFO] [stdout] | [INFO] [stdout] 1399 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1399 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr_2021)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:1471:86 [INFO] [stdout] | [INFO] [stdout] 1471 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1471 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr_2021)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_SetCurrentContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | ImGui_SetCurrentContext(self.imgui); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | pub unsafe fn set_current(&mut self) -> CurrentContext<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | pub unsafe fn add_config_flags(&mut self, flags: ConfigFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | (*io).ConfigFlags |= flags.bits(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | pub unsafe fn remove_config_flags(&mut self, flags: ConfigFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | (*io).ConfigFlags &= !flags.bits(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | pub unsafe fn set_size(&mut self, size: Vector2, scale: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | (*io).DisplaySize = v2_to_im(size); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `CurrentContext::<'_>::scale` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | if self.scale() != scale { [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | (*io).DisplayFramebufferScale = ImVec2 { x: scale, y: scale }; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | (*io).FontGlobalScale = scale.recip(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | pub unsafe fn size(&self) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:418:18 [INFO] [stdout] | [INFO] [stdout] 418 | im_to_v2((*io).DisplaySize) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:421:18 [INFO] [stdout] | [INFO] [stdout] 421 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | pub unsafe fn scale(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | (*io).DisplayFramebufferScale.x [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:435:18 [INFO] [stdout] | [INFO] [stdout] 435 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub unsafe fn update_atlas<'ui, A: UiBuilder>(&'ui mut self, app: &mut A) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImFontAtlas_Clear` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | ImFontAtlas_Clear((*io).Fonts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 436 | ImFontAtlas_Clear((*io).Fonts); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | (*(*io).Fonts).TexPixelsUseColors = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:437:11 [INFO] [stdout] | [INFO] [stdout] 437 | (*(*io).Fonts).TexPixelsUseColors = true; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | let scale = (*io).DisplayFramebufferScale.x; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:442:27 [INFO] [stdout] | [INFO] [stdout] 442 | ptr: &mut *(*io).Fonts, [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | ptr: &mut *(*io).Fonts, [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `FontAtlasMut::<'ui, A>::build_custom_rects` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | atlas.build_custom_rects(app); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetFrameCount` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | generation: ImGui_GetFrameCount() as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | / pub unsafe fn do_frame( [INFO] [stdout] 464 | | &mut self, [INFO] [stdout] 465 | | app: &mut A, [INFO] [stdout] 466 | | pre_render: impl FnOnce(), [INFO] [stdout] 467 | | render: impl FnOnce(&ImDrawData), [INFO] [stdout] 468 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:476:18 [INFO] [stdout] | [INFO] [stdout] 476 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | (*io).BackendLanguageUserData = &ui as *const Ui as *mut c_void; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_NewFrame` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | ImGui_NewFrame(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Render` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | ImGui_Render(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | (*io).BackendLanguageUserData = &ui as *const Ui as *mut c_void; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetDrawData` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:508:25 [INFO] [stdout] | [INFO] [stdout] 508 | let draw_data = ImGui_GetDrawData(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | render(&*draw_data); [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `IntoCStr::push_to_non_null_vec` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | self.as_str().push_to_non_null_vec(bs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 644 | unsafe fn push_to_non_null_vec(self, bs: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:855:15 [INFO] [stdout] | [INFO] [stdout] 855 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:854:1 [INFO] [stdout] | [INFO] [stdout] 854 | unsafe fn font_ptr(font: FontId) -> *mut ImFont { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:855:16 [INFO] [stdout] | [INFO] [stdout] 855 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:856:18 [INFO] [stdout] | [INFO] [stdout] 856 | let fonts = &*io.Fonts; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1637:21 [INFO] [stdout] | [INFO] [stdout] 1637 | let data = &mut *data; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1636:1 [INFO] [stdout] | [INFO] [stdout] 1636 | unsafe extern "C" fn input_text_callback(data: *mut ImGuiInputTextCallbackData) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1639:25 [INFO] [stdout] | [INFO] [stdout] 1639 | let this = &mut *(data.UserData as *mut String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::string::String::as_mut_vec` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1655:15 [INFO] [stdout] | [INFO] [stdout] 1655 | let buf = text.as_mut_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1654:1 [INFO] [stdout] | [INFO] [stdout] 1654 | unsafe fn text_post_edit(text: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1657:15 [INFO] [stdout] | [INFO] [stdout] 1657 | let len = CStr::from_ptr(buf.as_ptr() as *const c_char) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::set_len` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1660:5 [INFO] [stdout] | [INFO] [stdout] 1660 | buf.set_len(len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputText` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1671:13 [INFO] [stdout] | [INFO] [stdout] 1671 | let r = ImGui_InputText( [INFO] [stdout] | _____________^ [INFO] [stdout] 1672 | | label, [INFO] [stdout] 1673 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] 1674 | | text.capacity(), [INFO] [stdout] ... | [INFO] [stdout] 1677 | | text as *mut String as *mut c_void, [INFO] [stdout] 1678 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1663:1 [INFO] [stdout] | [INFO] [stdout] 1663 | / unsafe fn input_text_wrapper( [INFO] [stdout] 1664 | | label: *const c_char, [INFO] [stdout] 1665 | | text: &mut String, [INFO] [stdout] 1666 | | flags: InputTextFlags, [INFO] [stdout] 1667 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1679:5 [INFO] [stdout] | [INFO] [stdout] 1679 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `input_text_wrapper` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1713:15 [INFO] [stdout] | [INFO] [stdout] 1713 | let res = input_text_wrapper(label, &mut s, flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1703:1 [INFO] [stdout] | [INFO] [stdout] 1703 | / unsafe fn input_os_string_wrapper( [INFO] [stdout] 1704 | | label: *const c_char, [INFO] [stdout] 1705 | | os_string: &mut OsString, [INFO] [stdout] 1706 | | flags: InputTextFlags, [INFO] [stdout] 1707 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputTextMultiline` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1746:13 [INFO] [stdout] | [INFO] [stdout] 1746 | let r = ImGui_InputTextMultiline( [INFO] [stdout] | _____________^ [INFO] [stdout] 1747 | | label, [INFO] [stdout] 1748 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] 1749 | | text.capacity(), [INFO] [stdout] ... | [INFO] [stdout] 1753 | | text as *mut String as *mut c_void, [INFO] [stdout] 1754 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1738:1 [INFO] [stdout] | [INFO] [stdout] 1738 | / unsafe fn input_text_multiline_wrapper( [INFO] [stdout] 1739 | | label: *const c_char, [INFO] [stdout] 1740 | | text: &mut String, [INFO] [stdout] 1741 | | size: &ImVec2, [INFO] [stdout] 1742 | | flags: InputTextFlags, [INFO] [stdout] 1743 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1755:5 [INFO] [stdout] | [INFO] [stdout] 1755 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputTextWithHint` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1790:13 [INFO] [stdout] | [INFO] [stdout] 1790 | let r = ImGui_InputTextWithHint( [INFO] [stdout] | _____________^ [INFO] [stdout] 1791 | | label, [INFO] [stdout] 1792 | | hint, [INFO] [stdout] 1793 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 1797 | | text as *mut String as *mut c_void, [INFO] [stdout] 1798 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1782:1 [INFO] [stdout] | [INFO] [stdout] 1782 | / unsafe fn input_text_hint_wrapper( [INFO] [stdout] 1783 | | label: *const c_char, [INFO] [stdout] 1784 | | hint: *const c_char, [INFO] [stdout] 1785 | | text: &mut String, [INFO] [stdout] 1786 | | flags: InputTextFlags, [INFO] [stdout] 1787 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1799:5 [INFO] [stdout] | [INFO] [stdout] 1799 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_TreeNodeEx` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2002:32 [INFO] [stdout] | [INFO] [stdout] 2002 | LabelId::LblId(lbl) => ImGui_TreeNodeEx(lbl.into().as_ptr(), flags.bits()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1997:1 [INFO] [stdout] | [INFO] [stdout] 1997 | / unsafe fn tree_node_ex_helper( [INFO] [stdout] 1998 | | label_id: LabelId<'_, S, H>, [INFO] [stdout] 1999 | | flags: TreeNodeFlags, [INFO] [stdout] 2000 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2004:32 [INFO] [stdout] | [INFO] [stdout] 2004 | let (start, end) = text_ptrs(lbl); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_TreeNodeBehavior` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2006:13 [INFO] [stdout] | [INFO] [stdout] 2006 | ImGui_TreeNodeBehavior(id.get_id(), flags.bits(), start, end) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Hashable::get_id` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2006:36 [INFO] [stdout] | [INFO] [stdout] 2006 | ImGui_TreeNodeBehavior(id.get_id(), flags.bits(), start, end) [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2319:19 [INFO] [stdout] | [INFO] [stdout] 2319 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2318:5 [INFO] [stdout] | [INFO] [stdout] 2318 | unsafe fn run_callback(id: usize, x: X) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2319:20 [INFO] [stdout] | [INFO] [stdout] 2319 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2324:19 [INFO] [stdout] | [INFO] [stdout] 2324 | let ui = &*(io.BackendLanguageUserData as *const Self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2334:17 [INFO] [stdout] | [INFO] [stdout] 2334 | cb(&mut *ui.data, x.as_mut_ptr() as *mut c_void); [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3473:20 [INFO] [stdout] | [INFO] [stdout] 3473 | let ptr = &mut *ptr; [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3472:1 [INFO] [stdout] | [INFO] [stdout] 3472 | unsafe extern "C" fn call_size_callback(ptr: *mut ImGuiSizeCallbackData) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Ui::::run_callback` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3476:5 [INFO] [stdout] | [INFO] [stdout] 3476 | Ui::::run_callback(id, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3942:14 [INFO] [stdout] | [INFO] [stdout] 3942 | let id = (*cmd).UserCallbackData as usize; [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3938:1 [INFO] [stdout] | [INFO] [stdout] 3938 | / unsafe extern "C" fn call_drawlist_callback( [INFO] [stdout] 3939 | | _parent_lilst: *const ImDrawList, [INFO] [stdout] 3940 | | cmd: *const ImDrawCmd, [INFO] [stdout] 3941 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Ui::::run_callback` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3943:5 [INFO] [stdout] | [INFO] [stdout] 3943 | Ui::::run_callback(id, ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3955:28 [INFO] [stdout] | [INFO] [stdout] 3955 | let (start, end) = text_ptrs(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3954:5 [INFO] [stdout] | [INFO] [stdout] 3954 | unsafe fn get_id(&self) -> ImGuiID { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetID1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3956:9 [INFO] [stdout] | [INFO] [stdout] 3956 | ImGui_GetID1(start, end) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3959:28 [INFO] [stdout] | [INFO] [stdout] 3959 | let (start, end) = text_ptrs(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3958:5 [INFO] [stdout] | [INFO] [stdout] 3958 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushID1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3960:9 [INFO] [stdout] | [INFO] [stdout] 3960 | ImGui_PushID1(start, end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetID2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3966:9 [INFO] [stdout] | [INFO] [stdout] 3966 | ImGui_GetID2(*self as *const c_void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3965:5 [INFO] [stdout] | [INFO] [stdout] 3965 | unsafe fn get_id(&self) -> ImGuiID { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushID2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3969:9 [INFO] [stdout] | [INFO] [stdout] 3969 | ImGui_PushID2(*self as *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3968:5 [INFO] [stdout] | [INFO] [stdout] 3968 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3996:5 [INFO] [stdout] | [INFO] [stdout] 3996 | p.push(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3995:1 [INFO] [stdout] | [INFO] [stdout] 3995 | unsafe fn push_guard<'a, P: Pushable>(p: &'a P) -> PushableGuard<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4008:9 [INFO] [stdout] | [INFO] [stdout] 4008 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4007:5 [INFO] [stdout] | [INFO] [stdout] 4007 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4011:9 [INFO] [stdout] | [INFO] [stdout] 4011 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4010:5 [INFO] [stdout] | [INFO] [stdout] 4010 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4017:9 [INFO] [stdout] | [INFO] [stdout] 4017 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4016:5 [INFO] [stdout] | [INFO] [stdout] 4016 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4018:9 [INFO] [stdout] | [INFO] [stdout] 4018 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4021:9 [INFO] [stdout] | [INFO] [stdout] 4021 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4020:5 [INFO] [stdout] | [INFO] [stdout] 4020 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4022:9 [INFO] [stdout] | [INFO] [stdout] 4022 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4028:9 [INFO] [stdout] | [INFO] [stdout] 4028 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4027:5 [INFO] [stdout] | [INFO] [stdout] 4027 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4029:9 [INFO] [stdout] | [INFO] [stdout] 4029 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4030:9 [INFO] [stdout] | [INFO] [stdout] 4030 | self.2.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4033:9 [INFO] [stdout] | [INFO] [stdout] 4033 | self.2.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4032:5 [INFO] [stdout] | [INFO] [stdout] 4032 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4034:9 [INFO] [stdout] | [INFO] [stdout] 4034 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4035:9 [INFO] [stdout] | [INFO] [stdout] 4035 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4041:9 [INFO] [stdout] | [INFO] [stdout] 4041 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4040:5 [INFO] [stdout] | [INFO] [stdout] 4040 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4042:9 [INFO] [stdout] | [INFO] [stdout] 4042 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4043:9 [INFO] [stdout] | [INFO] [stdout] 4043 | self.2.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4044:9 [INFO] [stdout] | [INFO] [stdout] 4044 | self.3.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4047:9 [INFO] [stdout] | [INFO] [stdout] 4047 | self.3.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4046:5 [INFO] [stdout] | [INFO] [stdout] 4046 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4048:9 [INFO] [stdout] | [INFO] [stdout] 4048 | self.2.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4049:9 [INFO] [stdout] | [INFO] [stdout] 4049 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4050:9 [INFO] [stdout] | [INFO] [stdout] 4050 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4057:13 [INFO] [stdout] | [INFO] [stdout] 4057 | st.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4055:5 [INFO] [stdout] | [INFO] [stdout] 4055 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4062:13 [INFO] [stdout] | [INFO] [stdout] 4062 | st.pop(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4060:5 [INFO] [stdout] | [INFO] [stdout] 4060 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4071:13 [INFO] [stdout] | [INFO] [stdout] 4071 | s.push(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4069:5 [INFO] [stdout] | [INFO] [stdout] 4069 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4076:13 [INFO] [stdout] | [INFO] [stdout] 4076 | s.pop(); [INFO] [stdout] | ^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4074:5 [INFO] [stdout] | [INFO] [stdout] 4074 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushFont` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4083:9 [INFO] [stdout] | [INFO] [stdout] 4083 | ImGui_PushFont(font_ptr(*self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4082:5 [INFO] [stdout] | [INFO] [stdout] 4082 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `font_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4083:24 [INFO] [stdout] | [INFO] [stdout] 4083 | ImGui_PushFont(font_ptr(*self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopFont` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4086:9 [INFO] [stdout] | [INFO] [stdout] 4086 | ImGui_PopFont(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4085:5 [INFO] [stdout] | [INFO] [stdout] 4085 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleColor1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4106:9 [INFO] [stdout] | [INFO] [stdout] 4106 | ImGui_PushStyleColor1(self.0.bits(), &self.1.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4105:5 [INFO] [stdout] | [INFO] [stdout] 4105 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4109:9 [INFO] [stdout] | [INFO] [stdout] 4109 | ImGui_PopStyleColor(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4108:5 [INFO] [stdout] | [INFO] [stdout] 4108 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4116:13 [INFO] [stdout] | [INFO] [stdout] 4116 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4114:5 [INFO] [stdout] | [INFO] [stdout] 4114 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4120:9 [INFO] [stdout] | [INFO] [stdout] 4120 | ImGui_PopStyleColor(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4119:5 [INFO] [stdout] | [INFO] [stdout] 4119 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4126:9 [INFO] [stdout] | [INFO] [stdout] 4126 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4125:5 [INFO] [stdout] | [INFO] [stdout] 4125 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4129:9 [INFO] [stdout] | [INFO] [stdout] 4129 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4128:5 [INFO] [stdout] | [INFO] [stdout] 4128 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleColor1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4137:9 [INFO] [stdout] | [INFO] [stdout] 4137 | ImGui_PushStyleColor1(self.0.bits(), &self.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4136:5 [INFO] [stdout] | [INFO] [stdout] 4136 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4140:9 [INFO] [stdout] | [INFO] [stdout] 4140 | ImGui_PopStyleColor(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4139:5 [INFO] [stdout] | [INFO] [stdout] 4139 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4147:13 [INFO] [stdout] | [INFO] [stdout] 4147 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4145:5 [INFO] [stdout] | [INFO] [stdout] 4145 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4151:9 [INFO] [stdout] | [INFO] [stdout] 4151 | ImGui_PopStyleColor(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4150:5 [INFO] [stdout] | [INFO] [stdout] 4150 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4157:9 [INFO] [stdout] | [INFO] [stdout] 4157 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4156:5 [INFO] [stdout] | [INFO] [stdout] 4156 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4160:9 [INFO] [stdout] | [INFO] [stdout] 4160 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4159:5 [INFO] [stdout] | [INFO] [stdout] 4159 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4177:35 [INFO] [stdout] | [INFO] [stdout] 4177 | StyleValue::F32(f) => ImGui_PushStyleVar(self.0.bits(), f), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4175:5 [INFO] [stdout] | [INFO] [stdout] 4175 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVar1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4178:36 [INFO] [stdout] | [INFO] [stdout] 4178 | StyleValue::Vec2(v) => ImGui_PushStyleVar1(self.0.bits(), &v2_to_im(v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVarX` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4179:33 [INFO] [stdout] | [INFO] [stdout] 4179 | StyleValue::X(x) => ImGui_PushStyleVarX(self.0.bits(), x), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVarX` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4180:33 [INFO] [stdout] | [INFO] [stdout] 4180 | StyleValue::Y(y) => ImGui_PushStyleVarX(self.0.bits(), y), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4184:9 [INFO] [stdout] | [INFO] [stdout] 4184 | ImGui_PopStyleVar(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4183:5 [INFO] [stdout] | [INFO] [stdout] 4183 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4191:13 [INFO] [stdout] | [INFO] [stdout] 4191 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4189:5 [INFO] [stdout] | [INFO] [stdout] 4189 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4195:9 [INFO] [stdout] | [INFO] [stdout] 4195 | ImGui_PopStyleVar(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4194:5 [INFO] [stdout] | [INFO] [stdout] 4194 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4201:9 [INFO] [stdout] | [INFO] [stdout] 4201 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4200:5 [INFO] [stdout] | [INFO] [stdout] 4200 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4204:9 [INFO] [stdout] | [INFO] [stdout] 4204 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4203:5 [INFO] [stdout] | [INFO] [stdout] 4203 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushItemWidth` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4213:9 [INFO] [stdout] | [INFO] [stdout] 4213 | ImGui_PushItemWidth(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4212:5 [INFO] [stdout] | [INFO] [stdout] 4212 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopItemWidth` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4216:9 [INFO] [stdout] | [INFO] [stdout] 4216 | ImGui_PopItemWidth(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4215:5 [INFO] [stdout] | [INFO] [stdout] 4215 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Indent` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4225:9 [INFO] [stdout] | [INFO] [stdout] 4225 | ImGui_Indent(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4224:5 [INFO] [stdout] | [INFO] [stdout] 4224 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Unindent` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4228:9 [INFO] [stdout] | [INFO] [stdout] 4228 | ImGui_Unindent(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4227:5 [INFO] [stdout] | [INFO] [stdout] 4227 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushTextWrapPos` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4237:9 [INFO] [stdout] | [INFO] [stdout] 4237 | ImGui_PushTextWrapPos(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4236:5 [INFO] [stdout] | [INFO] [stdout] 4236 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopTextWrapPos` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4240:9 [INFO] [stdout] | [INFO] [stdout] 4240 | ImGui_PopTextWrapPos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4239:5 [INFO] [stdout] | [INFO] [stdout] 4239 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushItemFlag` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4246:9 [INFO] [stdout] | [INFO] [stdout] 4246 | ImGui_PushItemFlag(self.0.bits(), self.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4245:5 [INFO] [stdout] | [INFO] [stdout] 4245 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopItemFlag` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4249:9 [INFO] [stdout] | [INFO] [stdout] 4249 | ImGui_PopItemFlag(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4248:5 [INFO] [stdout] | [INFO] [stdout] 4248 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Hashable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4258:9 [INFO] [stdout] | [INFO] [stdout] 4258 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4257:5 [INFO] [stdout] | [INFO] [stdout] 4257 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopID` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4261:9 [INFO] [stdout] | [INFO] [stdout] 4261 | ImGui_PopID(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4260:5 [INFO] [stdout] | [INFO] [stdout] 4260 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:3406:16 [INFO] [stdout] | [INFO] [stdout] 3406 | if let Some(f) = f { [INFO] [stdout] | ^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:3417:13 [INFO] [stdout] | [INFO] [stdout] 3417 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3406 ~ match f { Some(f) => { [INFO] [stdout] 3407 | unsafe { [INFO] [stdout] ... [INFO] [stdout] 3416 | } [INFO] [stdout] 3417 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:3920:20 [INFO] [stdout] | [INFO] [stdout] 3920 | if let Some(cb) = cb.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:3922:17 [INFO] [stdout] | [INFO] [stdout] 3922 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3920 ~ match cb.take() { Some(cb) => { [INFO] [stdout] 3921 | cb(&mut *a); [INFO] [stdout] 3922 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 137 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `easy_imgui` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:889:91 [INFO] [stderr] | [INFO] [stderr] 889 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr_2021),)*) ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:908:91 [INFO] [stderr] | [INFO] [stderr] 908 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr_2021),)*) ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:935:42 [INFO] [stderr] | [INFO] [stderr] 935 | $arg:ident ($($ty:tt)*) ($pass:expr_2021), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:964:28 [INFO] [stderr] | [INFO] [stderr] 964 | ($name:ident: $ty:ty = $expr:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:989:42 [INFO] [stderr] | [INFO] [stderr] 989 | $arg:ident ($($ty:tt)*) ($pass:expr_2021), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:1399:80 [INFO] [stderr] | [INFO] [stderr] 1399 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr_2021)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:1471:80 [INFO] [stderr] | [INFO] [stderr] 1471 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr_2021)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 206 | fn merge_generation(id: usize, gen: usize) -> usize { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:210:6 [INFO] [stdout] | [INFO] [stdout] 210 | (gen << GEN_ID_BITS) | id [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 212 | fn remove_generation(id: usize, gen: usize) -> Option { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:213:32 [INFO] [stdout] | [INFO] [stdout] 213 | if (id >> GEN_ID_BITS) != (gen & GEN_MASK) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:889:97 [INFO] [stdout] | [INFO] [stdout] 889 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr),)*) ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 889 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr_2021),)*) ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:908:97 [INFO] [stdout] | [INFO] [stdout] 908 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr),)*) ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 908 | ( $(#[$attr:meta])* $name:ident $begin:ident $end:ident ($($arg:ident ($($type:tt)*) ($pass:expr_2021),)*) ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:935:48 [INFO] [stdout] | [INFO] [stdout] 935 | $arg:ident ($($ty:tt)*) ($pass:expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 935 | $arg:ident ($($ty:tt)*) ($pass:expr_2021), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:964:34 [INFO] [stdout] | [INFO] [stdout] 964 | ($name:ident: $ty:ty = $expr:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 964 | ($name:ident: $ty:ty = $expr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:989:48 [INFO] [stdout] | [INFO] [stdout] 989 | $arg:ident ($($ty:tt)*) ($pass:expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 989 | $arg:ident ($($ty:tt)*) ($pass:expr_2021), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:1399:86 [INFO] [stdout] | [INFO] [stdout] 1399 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1399 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr_2021)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:1471:86 [INFO] [stdout] | [INFO] [stdout] 1471 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1471 | ($name:ident $func:ident $cfunc:ident $life:lifetime ($argty:ty) ($ty:ty) ($expr:expr_2021)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_SetCurrentContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | ImGui_SetCurrentContext(self.imgui); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | pub unsafe fn set_current(&mut self) -> CurrentContext<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | pub unsafe fn add_config_flags(&mut self, flags: ConfigFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | (*io).ConfigFlags |= flags.bits(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | pub unsafe fn remove_config_flags(&mut self, flags: ConfigFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | (*io).ConfigFlags &= !flags.bits(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | pub unsafe fn set_size(&mut self, size: Vector2, scale: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | (*io).DisplaySize = v2_to_im(size); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `CurrentContext::<'_>::scale` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | if self.scale() != scale { [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | (*io).DisplayFramebufferScale = ImVec2 { x: scale, y: scale }; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | (*io).FontGlobalScale = scale.recip(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | pub unsafe fn size(&self) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:418:18 [INFO] [stdout] | [INFO] [stdout] 418 | im_to_v2((*io).DisplaySize) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:421:18 [INFO] [stdout] | [INFO] [stdout] 421 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | pub unsafe fn scale(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | (*io).DisplayFramebufferScale.x [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:435:18 [INFO] [stdout] | [INFO] [stdout] 435 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub unsafe fn update_atlas<'ui, A: UiBuilder>(&'ui mut self, app: &mut A) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImFontAtlas_Clear` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | ImFontAtlas_Clear((*io).Fonts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 436 | ImFontAtlas_Clear((*io).Fonts); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | (*(*io).Fonts).TexPixelsUseColors = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:437:11 [INFO] [stdout] | [INFO] [stdout] 437 | (*(*io).Fonts).TexPixelsUseColors = true; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | let scale = (*io).DisplayFramebufferScale.x; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:442:27 [INFO] [stdout] | [INFO] [stdout] 442 | ptr: &mut *(*io).Fonts, [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | ptr: &mut *(*io).Fonts, [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `FontAtlasMut::<'ui, A>::build_custom_rects` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | atlas.build_custom_rects(app); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetFrameCount` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | generation: ImGui_GetFrameCount() as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | / pub unsafe fn do_frame( [INFO] [stdout] 464 | | &mut self, [INFO] [stdout] 465 | | app: &mut A, [INFO] [stdout] 466 | | pre_render: impl FnOnce(), [INFO] [stdout] 467 | | render: impl FnOnce(&ImDrawData), [INFO] [stdout] 468 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:476:18 [INFO] [stdout] | [INFO] [stdout] 476 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | (*io).BackendLanguageUserData = &ui as *const Ui as *mut c_void; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_NewFrame` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | ImGui_NewFrame(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Render` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | ImGui_Render(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | (*io).BackendLanguageUserData = &ui as *const Ui as *mut c_void; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetDrawData` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:508:25 [INFO] [stdout] | [INFO] [stdout] 508 | let draw_data = ImGui_GetDrawData(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | render(&*draw_data); [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `IntoCStr::push_to_non_null_vec` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | self.as_str().push_to_non_null_vec(bs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 644 | unsafe fn push_to_non_null_vec(self, bs: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:855:15 [INFO] [stdout] | [INFO] [stdout] 855 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:854:1 [INFO] [stdout] | [INFO] [stdout] 854 | unsafe fn font_ptr(font: FontId) -> *mut ImFont { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:855:16 [INFO] [stdout] | [INFO] [stdout] 855 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:856:18 [INFO] [stdout] | [INFO] [stdout] 856 | let fonts = &*io.Fonts; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1637:21 [INFO] [stdout] | [INFO] [stdout] 1637 | let data = &mut *data; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1636:1 [INFO] [stdout] | [INFO] [stdout] 1636 | unsafe extern "C" fn input_text_callback(data: *mut ImGuiInputTextCallbackData) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1639:25 [INFO] [stdout] | [INFO] [stdout] 1639 | let this = &mut *(data.UserData as *mut String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::string::String::as_mut_vec` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1655:15 [INFO] [stdout] | [INFO] [stdout] 1655 | let buf = text.as_mut_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1654:1 [INFO] [stdout] | [INFO] [stdout] 1654 | unsafe fn text_post_edit(text: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1657:15 [INFO] [stdout] | [INFO] [stdout] 1657 | let len = CStr::from_ptr(buf.as_ptr() as *const c_char) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::set_len` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1660:5 [INFO] [stdout] | [INFO] [stdout] 1660 | buf.set_len(len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputText` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1671:13 [INFO] [stdout] | [INFO] [stdout] 1671 | let r = ImGui_InputText( [INFO] [stdout] | _____________^ [INFO] [stdout] 1672 | | label, [INFO] [stdout] 1673 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] 1674 | | text.capacity(), [INFO] [stdout] ... | [INFO] [stdout] 1677 | | text as *mut String as *mut c_void, [INFO] [stdout] 1678 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1663:1 [INFO] [stdout] | [INFO] [stdout] 1663 | / unsafe fn input_text_wrapper( [INFO] [stdout] 1664 | | label: *const c_char, [INFO] [stdout] 1665 | | text: &mut String, [INFO] [stdout] 1666 | | flags: InputTextFlags, [INFO] [stdout] 1667 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1679:5 [INFO] [stdout] | [INFO] [stdout] 1679 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `input_text_wrapper` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1713:15 [INFO] [stdout] | [INFO] [stdout] 1713 | let res = input_text_wrapper(label, &mut s, flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1703:1 [INFO] [stdout] | [INFO] [stdout] 1703 | / unsafe fn input_os_string_wrapper( [INFO] [stdout] 1704 | | label: *const c_char, [INFO] [stdout] 1705 | | os_string: &mut OsString, [INFO] [stdout] 1706 | | flags: InputTextFlags, [INFO] [stdout] 1707 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputTextMultiline` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1746:13 [INFO] [stdout] | [INFO] [stdout] 1746 | let r = ImGui_InputTextMultiline( [INFO] [stdout] | _____________^ [INFO] [stdout] 1747 | | label, [INFO] [stdout] 1748 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] 1749 | | text.capacity(), [INFO] [stdout] ... | [INFO] [stdout] 1753 | | text as *mut String as *mut c_void, [INFO] [stdout] 1754 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1738:1 [INFO] [stdout] | [INFO] [stdout] 1738 | / unsafe fn input_text_multiline_wrapper( [INFO] [stdout] 1739 | | label: *const c_char, [INFO] [stdout] 1740 | | text: &mut String, [INFO] [stdout] 1741 | | size: &ImVec2, [INFO] [stdout] 1742 | | flags: InputTextFlags, [INFO] [stdout] 1743 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1755:5 [INFO] [stdout] | [INFO] [stdout] 1755 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputTextWithHint` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1790:13 [INFO] [stdout] | [INFO] [stdout] 1790 | let r = ImGui_InputTextWithHint( [INFO] [stdout] | _____________^ [INFO] [stdout] 1791 | | label, [INFO] [stdout] 1792 | | hint, [INFO] [stdout] 1793 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 1797 | | text as *mut String as *mut c_void, [INFO] [stdout] 1798 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1782:1 [INFO] [stdout] | [INFO] [stdout] 1782 | / unsafe fn input_text_hint_wrapper( [INFO] [stdout] 1783 | | label: *const c_char, [INFO] [stdout] 1784 | | hint: *const c_char, [INFO] [stdout] 1785 | | text: &mut String, [INFO] [stdout] 1786 | | flags: InputTextFlags, [INFO] [stdout] 1787 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1799:5 [INFO] [stdout] | [INFO] [stdout] 1799 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_TreeNodeEx` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2002:32 [INFO] [stdout] | [INFO] [stdout] 2002 | LabelId::LblId(lbl) => ImGui_TreeNodeEx(lbl.into().as_ptr(), flags.bits()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1997:1 [INFO] [stdout] | [INFO] [stdout] 1997 | / unsafe fn tree_node_ex_helper( [INFO] [stdout] 1998 | | label_id: LabelId<'_, S, H>, [INFO] [stdout] 1999 | | flags: TreeNodeFlags, [INFO] [stdout] 2000 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2004:32 [INFO] [stdout] | [INFO] [stdout] 2004 | let (start, end) = text_ptrs(lbl); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_TreeNodeBehavior` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2006:13 [INFO] [stdout] | [INFO] [stdout] 2006 | ImGui_TreeNodeBehavior(id.get_id(), flags.bits(), start, end) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Hashable::get_id` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2006:36 [INFO] [stdout] | [INFO] [stdout] 2006 | ImGui_TreeNodeBehavior(id.get_id(), flags.bits(), start, end) [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2319:19 [INFO] [stdout] | [INFO] [stdout] 2319 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2318:5 [INFO] [stdout] | [INFO] [stdout] 2318 | unsafe fn run_callback(id: usize, x: X) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2319:20 [INFO] [stdout] | [INFO] [stdout] 2319 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2324:19 [INFO] [stdout] | [INFO] [stdout] 2324 | let ui = &*(io.BackendLanguageUserData as *const Self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2334:17 [INFO] [stdout] | [INFO] [stdout] 2334 | cb(&mut *ui.data, x.as_mut_ptr() as *mut c_void); [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3473:20 [INFO] [stdout] | [INFO] [stdout] 3473 | let ptr = &mut *ptr; [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3472:1 [INFO] [stdout] | [INFO] [stdout] 3472 | unsafe extern "C" fn call_size_callback(ptr: *mut ImGuiSizeCallbackData) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Ui::::run_callback` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3476:5 [INFO] [stdout] | [INFO] [stdout] 3476 | Ui::::run_callback(id, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3942:14 [INFO] [stdout] | [INFO] [stdout] 3942 | let id = (*cmd).UserCallbackData as usize; [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3938:1 [INFO] [stdout] | [INFO] [stdout] 3938 | / unsafe extern "C" fn call_drawlist_callback( [INFO] [stdout] 3939 | | _parent_lilst: *const ImDrawList, [INFO] [stdout] 3940 | | cmd: *const ImDrawCmd, [INFO] [stdout] 3941 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Ui::::run_callback` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3943:5 [INFO] [stdout] | [INFO] [stdout] 3943 | Ui::::run_callback(id, ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3955:28 [INFO] [stdout] | [INFO] [stdout] 3955 | let (start, end) = text_ptrs(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3954:5 [INFO] [stdout] | [INFO] [stdout] 3954 | unsafe fn get_id(&self) -> ImGuiID { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetID1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3956:9 [INFO] [stdout] | [INFO] [stdout] 3956 | ImGui_GetID1(start, end) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3959:28 [INFO] [stdout] | [INFO] [stdout] 3959 | let (start, end) = text_ptrs(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3958:5 [INFO] [stdout] | [INFO] [stdout] 3958 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushID1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3960:9 [INFO] [stdout] | [INFO] [stdout] 3960 | ImGui_PushID1(start, end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetID2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3966:9 [INFO] [stdout] | [INFO] [stdout] 3966 | ImGui_GetID2(*self as *const c_void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3965:5 [INFO] [stdout] | [INFO] [stdout] 3965 | unsafe fn get_id(&self) -> ImGuiID { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushID2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3969:9 [INFO] [stdout] | [INFO] [stdout] 3969 | ImGui_PushID2(*self as *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3968:5 [INFO] [stdout] | [INFO] [stdout] 3968 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3996:5 [INFO] [stdout] | [INFO] [stdout] 3996 | p.push(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3995:1 [INFO] [stdout] | [INFO] [stdout] 3995 | unsafe fn push_guard<'a, P: Pushable>(p: &'a P) -> PushableGuard<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4008:9 [INFO] [stdout] | [INFO] [stdout] 4008 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4007:5 [INFO] [stdout] | [INFO] [stdout] 4007 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4011:9 [INFO] [stdout] | [INFO] [stdout] 4011 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4010:5 [INFO] [stdout] | [INFO] [stdout] 4010 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4017:9 [INFO] [stdout] | [INFO] [stdout] 4017 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4016:5 [INFO] [stdout] | [INFO] [stdout] 4016 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4018:9 [INFO] [stdout] | [INFO] [stdout] 4018 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4021:9 [INFO] [stdout] | [INFO] [stdout] 4021 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4020:5 [INFO] [stdout] | [INFO] [stdout] 4020 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4022:9 [INFO] [stdout] | [INFO] [stdout] 4022 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4028:9 [INFO] [stdout] | [INFO] [stdout] 4028 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4027:5 [INFO] [stdout] | [INFO] [stdout] 4027 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4029:9 [INFO] [stdout] | [INFO] [stdout] 4029 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4030:9 [INFO] [stdout] | [INFO] [stdout] 4030 | self.2.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4033:9 [INFO] [stdout] | [INFO] [stdout] 4033 | self.2.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4032:5 [INFO] [stdout] | [INFO] [stdout] 4032 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4034:9 [INFO] [stdout] | [INFO] [stdout] 4034 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4035:9 [INFO] [stdout] | [INFO] [stdout] 4035 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4041:9 [INFO] [stdout] | [INFO] [stdout] 4041 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4040:5 [INFO] [stdout] | [INFO] [stdout] 4040 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4042:9 [INFO] [stdout] | [INFO] [stdout] 4042 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4043:9 [INFO] [stdout] | [INFO] [stdout] 4043 | self.2.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4044:9 [INFO] [stdout] | [INFO] [stdout] 4044 | self.3.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4047:9 [INFO] [stdout] | [INFO] [stdout] 4047 | self.3.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4046:5 [INFO] [stdout] | [INFO] [stdout] 4046 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4048:9 [INFO] [stdout] | [INFO] [stdout] 4048 | self.2.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4049:9 [INFO] [stdout] | [INFO] [stdout] 4049 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4050:9 [INFO] [stdout] | [INFO] [stdout] 4050 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4057:13 [INFO] [stdout] | [INFO] [stdout] 4057 | st.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4055:5 [INFO] [stdout] | [INFO] [stdout] 4055 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4062:13 [INFO] [stdout] | [INFO] [stdout] 4062 | st.pop(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4060:5 [INFO] [stdout] | [INFO] [stdout] 4060 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4071:13 [INFO] [stdout] | [INFO] [stdout] 4071 | s.push(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4069:5 [INFO] [stdout] | [INFO] [stdout] 4069 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4076:13 [INFO] [stdout] | [INFO] [stdout] 4076 | s.pop(); [INFO] [stdout] | ^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4074:5 [INFO] [stdout] | [INFO] [stdout] 4074 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushFont` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4083:9 [INFO] [stdout] | [INFO] [stdout] 4083 | ImGui_PushFont(font_ptr(*self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4082:5 [INFO] [stdout] | [INFO] [stdout] 4082 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `font_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4083:24 [INFO] [stdout] | [INFO] [stdout] 4083 | ImGui_PushFont(font_ptr(*self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopFont` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4086:9 [INFO] [stdout] | [INFO] [stdout] 4086 | ImGui_PopFont(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4085:5 [INFO] [stdout] | [INFO] [stdout] 4085 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleColor1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4106:9 [INFO] [stdout] | [INFO] [stdout] 4106 | ImGui_PushStyleColor1(self.0.bits(), &self.1.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4105:5 [INFO] [stdout] | [INFO] [stdout] 4105 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4109:9 [INFO] [stdout] | [INFO] [stdout] 4109 | ImGui_PopStyleColor(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4108:5 [INFO] [stdout] | [INFO] [stdout] 4108 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4116:13 [INFO] [stdout] | [INFO] [stdout] 4116 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4114:5 [INFO] [stdout] | [INFO] [stdout] 4114 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4120:9 [INFO] [stdout] | [INFO] [stdout] 4120 | ImGui_PopStyleColor(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4119:5 [INFO] [stdout] | [INFO] [stdout] 4119 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4126:9 [INFO] [stdout] | [INFO] [stdout] 4126 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4125:5 [INFO] [stdout] | [INFO] [stdout] 4125 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4129:9 [INFO] [stdout] | [INFO] [stdout] 4129 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4128:5 [INFO] [stdout] | [INFO] [stdout] 4128 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleColor1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4137:9 [INFO] [stdout] | [INFO] [stdout] 4137 | ImGui_PushStyleColor1(self.0.bits(), &self.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4136:5 [INFO] [stdout] | [INFO] [stdout] 4136 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4140:9 [INFO] [stdout] | [INFO] [stdout] 4140 | ImGui_PopStyleColor(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4139:5 [INFO] [stdout] | [INFO] [stdout] 4139 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4147:13 [INFO] [stdout] | [INFO] [stdout] 4147 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4145:5 [INFO] [stdout] | [INFO] [stdout] 4145 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4151:9 [INFO] [stdout] | [INFO] [stdout] 4151 | ImGui_PopStyleColor(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4150:5 [INFO] [stdout] | [INFO] [stdout] 4150 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4157:9 [INFO] [stdout] | [INFO] [stdout] 4157 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4156:5 [INFO] [stdout] | [INFO] [stdout] 4156 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4160:9 [INFO] [stdout] | [INFO] [stdout] 4160 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4159:5 [INFO] [stdout] | [INFO] [stdout] 4159 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4177:35 [INFO] [stdout] | [INFO] [stdout] 4177 | StyleValue::F32(f) => ImGui_PushStyleVar(self.0.bits(), f), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4175:5 [INFO] [stdout] | [INFO] [stdout] 4175 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVar1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4178:36 [INFO] [stdout] | [INFO] [stdout] 4178 | StyleValue::Vec2(v) => ImGui_PushStyleVar1(self.0.bits(), &v2_to_im(v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVarX` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4179:33 [INFO] [stdout] | [INFO] [stdout] 4179 | StyleValue::X(x) => ImGui_PushStyleVarX(self.0.bits(), x), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVarX` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4180:33 [INFO] [stdout] | [INFO] [stdout] 4180 | StyleValue::Y(y) => ImGui_PushStyleVarX(self.0.bits(), y), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4184:9 [INFO] [stdout] | [INFO] [stdout] 4184 | ImGui_PopStyleVar(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4183:5 [INFO] [stdout] | [INFO] [stdout] 4183 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4191:13 [INFO] [stdout] | [INFO] [stdout] 4191 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4189:5 [INFO] [stdout] | [INFO] [stdout] 4189 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4195:9 [INFO] [stdout] | [INFO] [stdout] 4195 | ImGui_PopStyleVar(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4194:5 [INFO] [stdout] | [INFO] [stdout] 4194 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4201:9 [INFO] [stdout] | [INFO] [stdout] 4201 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4200:5 [INFO] [stdout] | [INFO] [stdout] 4200 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4204:9 [INFO] [stdout] | [INFO] [stdout] 4204 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4203:5 [INFO] [stdout] | [INFO] [stdout] 4203 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushItemWidth` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4213:9 [INFO] [stdout] | [INFO] [stdout] 4213 | ImGui_PushItemWidth(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4212:5 [INFO] [stdout] | [INFO] [stdout] 4212 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopItemWidth` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4216:9 [INFO] [stdout] | [INFO] [stdout] 4216 | ImGui_PopItemWidth(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4215:5 [INFO] [stdout] | [INFO] [stdout] 4215 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Indent` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4225:9 [INFO] [stdout] | [INFO] [stdout] 4225 | ImGui_Indent(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4224:5 [INFO] [stdout] | [INFO] [stdout] 4224 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Unindent` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4228:9 [INFO] [stdout] | [INFO] [stdout] 4228 | ImGui_Unindent(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4227:5 [INFO] [stdout] | [INFO] [stdout] 4227 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushTextWrapPos` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4237:9 [INFO] [stdout] | [INFO] [stdout] 4237 | ImGui_PushTextWrapPos(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4236:5 [INFO] [stdout] | [INFO] [stdout] 4236 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopTextWrapPos` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4240:9 [INFO] [stdout] | [INFO] [stdout] 4240 | ImGui_PopTextWrapPos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4239:5 [INFO] [stdout] | [INFO] [stdout] 4239 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushItemFlag` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4246:9 [INFO] [stdout] | [INFO] [stdout] 4246 | ImGui_PushItemFlag(self.0.bits(), self.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4245:5 [INFO] [stdout] | [INFO] [stdout] 4245 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopItemFlag` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4249:9 [INFO] [stdout] | [INFO] [stdout] 4249 | ImGui_PopItemFlag(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4248:5 [INFO] [stdout] | [INFO] [stdout] 4248 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Hashable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4258:9 [INFO] [stdout] | [INFO] [stdout] 4258 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4257:5 [INFO] [stdout] | [INFO] [stdout] 4257 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopID` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4261:9 [INFO] [stdout] | [INFO] [stdout] 4261 | ImGui_PopID(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4260:5 [INFO] [stdout] | [INFO] [stdout] 4260 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:3406:16 [INFO] [stdout] | [INFO] [stdout] 3406 | if let Some(f) = f { [INFO] [stdout] | ^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:3417:13 [INFO] [stdout] | [INFO] [stdout] 3417 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3406 ~ match f { Some(f) => { [INFO] [stdout] 3407 | unsafe { [INFO] [stdout] ... [INFO] [stdout] 3416 | } [INFO] [stdout] 3417 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:3920:20 [INFO] [stdout] | [INFO] [stdout] 3920 | if let Some(cb) = cb.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:3922:17 [INFO] [stdout] | [INFO] [stdout] 3922 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3920 ~ match cb.take() { Some(cb) => { [INFO] [stdout] 3921 | cb(&mut *a); [INFO] [stdout] 3922 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 137 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.33s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking easy-imgui v0.8.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 206 | fn merge_generation(id: usize, gen: usize) -> usize { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 206 | fn merge_generation(id: usize, r#gen: usize) -> usize { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:210:6 [INFO] [stdout] | [INFO] [stdout] 210 | (gen << GEN_ID_BITS) | id [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 212 | fn remove_generation(id: usize, gen: usize) -> Option { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 212 | fn remove_generation(id: usize, r#gen: usize) -> Option { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:213:32 [INFO] [stdout] | [INFO] [stdout] 213 | if (id >> GEN_ID_BITS) != (gen & GEN_MASK) { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 206 | fn merge_generation(id: usize, gen: usize) -> usize { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 206 | fn merge_generation(id: usize, r#gen: usize) -> usize { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:210:6 [INFO] [stdout] | [INFO] [stdout] 210 | (gen << GEN_ID_BITS) | id [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 212 | fn remove_generation(id: usize, gen: usize) -> Option { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 212 | fn remove_generation(id: usize, r#gen: usize) -> Option { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:213:32 [INFO] [stdout] | [INFO] [stdout] 213 | if (id >> GEN_ID_BITS) != (gen & GEN_MASK) { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_SetCurrentContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | ImGui_SetCurrentContext(self.imgui); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | pub unsafe fn set_current(&mut self) -> CurrentContext<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | pub unsafe fn add_config_flags(&mut self, flags: ConfigFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | (*io).ConfigFlags |= flags.bits(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | pub unsafe fn remove_config_flags(&mut self, flags: ConfigFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | (*io).ConfigFlags &= !flags.bits(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | pub unsafe fn set_size(&mut self, size: Vector2, scale: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | (*io).DisplaySize = v2_to_im(size); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `CurrentContext::<'_>::scale` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | if self.scale() != scale { [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | (*io).DisplayFramebufferScale = ImVec2 { x: scale, y: scale }; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | (*io).FontGlobalScale = scale.recip(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | pub unsafe fn size(&self) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:418:18 [INFO] [stdout] | [INFO] [stdout] 418 | im_to_v2((*io).DisplaySize) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:421:18 [INFO] [stdout] | [INFO] [stdout] 421 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | pub unsafe fn scale(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | (*io).DisplayFramebufferScale.x [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:435:18 [INFO] [stdout] | [INFO] [stdout] 435 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub unsafe fn update_atlas<'ui, A: UiBuilder>(&'ui mut self, app: &mut A) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImFontAtlas_Clear` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | ImFontAtlas_Clear((*io).Fonts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 436 | ImFontAtlas_Clear((*io).Fonts); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | (*(*io).Fonts).TexPixelsUseColors = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:437:11 [INFO] [stdout] | [INFO] [stdout] 437 | (*(*io).Fonts).TexPixelsUseColors = true; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | let scale = (*io).DisplayFramebufferScale.x; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:442:27 [INFO] [stdout] | [INFO] [stdout] 442 | ptr: &mut *(*io).Fonts, [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | ptr: &mut *(*io).Fonts, [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `FontAtlasMut::<'ui, A>::build_custom_rects` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | atlas.build_custom_rects(app); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetFrameCount` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | generation: ImGui_GetFrameCount() as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | / pub unsafe fn do_frame( [INFO] [stdout] 464 | | &mut self, [INFO] [stdout] 465 | | app: &mut A, [INFO] [stdout] 466 | | pre_render: impl FnOnce(), [INFO] [stdout] 467 | | render: impl FnOnce(&ImDrawData), [INFO] [stdout] 468 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:476:18 [INFO] [stdout] | [INFO] [stdout] 476 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | (*io).BackendLanguageUserData = &ui as *const Ui as *mut c_void; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_NewFrame` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | ImGui_NewFrame(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Render` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | ImGui_Render(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | (*io).BackendLanguageUserData = &ui as *const Ui as *mut c_void; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetDrawData` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:508:25 [INFO] [stdout] | [INFO] [stdout] 508 | let draw_data = ImGui_GetDrawData(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | render(&*draw_data); [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `IntoCStr::push_to_non_null_vec` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | self.as_str().push_to_non_null_vec(bs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 644 | unsafe fn push_to_non_null_vec(self, bs: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:855:15 [INFO] [stdout] | [INFO] [stdout] 855 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:854:1 [INFO] [stdout] | [INFO] [stdout] 854 | unsafe fn font_ptr(font: FontId) -> *mut ImFont { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:855:16 [INFO] [stdout] | [INFO] [stdout] 855 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:856:18 [INFO] [stdout] | [INFO] [stdout] 856 | let fonts = &*io.Fonts; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1637:21 [INFO] [stdout] | [INFO] [stdout] 1637 | let data = &mut *data; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1636:1 [INFO] [stdout] | [INFO] [stdout] 1636 | unsafe extern "C" fn input_text_callback(data: *mut ImGuiInputTextCallbackData) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1639:25 [INFO] [stdout] | [INFO] [stdout] 1639 | let this = &mut *(data.UserData as *mut String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::string::String::as_mut_vec` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1655:15 [INFO] [stdout] | [INFO] [stdout] 1655 | let buf = text.as_mut_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1654:1 [INFO] [stdout] | [INFO] [stdout] 1654 | unsafe fn text_post_edit(text: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1657:15 [INFO] [stdout] | [INFO] [stdout] 1657 | let len = CStr::from_ptr(buf.as_ptr() as *const c_char) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::set_len` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1660:5 [INFO] [stdout] | [INFO] [stdout] 1660 | buf.set_len(len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputText` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1671:13 [INFO] [stdout] | [INFO] [stdout] 1671 | let r = ImGui_InputText( [INFO] [stdout] | _____________^ [INFO] [stdout] 1672 | | label, [INFO] [stdout] 1673 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] 1674 | | text.capacity(), [INFO] [stdout] ... | [INFO] [stdout] 1677 | | text as *mut String as *mut c_void, [INFO] [stdout] 1678 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1663:1 [INFO] [stdout] | [INFO] [stdout] 1663 | / unsafe fn input_text_wrapper( [INFO] [stdout] 1664 | | label: *const c_char, [INFO] [stdout] 1665 | | text: &mut String, [INFO] [stdout] 1666 | | flags: InputTextFlags, [INFO] [stdout] 1667 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1679:5 [INFO] [stdout] | [INFO] [stdout] 1679 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `input_text_wrapper` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1713:15 [INFO] [stdout] | [INFO] [stdout] 1713 | let res = input_text_wrapper(label, &mut s, flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1703:1 [INFO] [stdout] | [INFO] [stdout] 1703 | / unsafe fn input_os_string_wrapper( [INFO] [stdout] 1704 | | label: *const c_char, [INFO] [stdout] 1705 | | os_string: &mut OsString, [INFO] [stdout] 1706 | | flags: InputTextFlags, [INFO] [stdout] 1707 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputTextMultiline` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1746:13 [INFO] [stdout] | [INFO] [stdout] 1746 | let r = ImGui_InputTextMultiline( [INFO] [stdout] | _____________^ [INFO] [stdout] 1747 | | label, [INFO] [stdout] 1748 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] 1749 | | text.capacity(), [INFO] [stdout] ... | [INFO] [stdout] 1753 | | text as *mut String as *mut c_void, [INFO] [stdout] 1754 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1738:1 [INFO] [stdout] | [INFO] [stdout] 1738 | / unsafe fn input_text_multiline_wrapper( [INFO] [stdout] 1739 | | label: *const c_char, [INFO] [stdout] 1740 | | text: &mut String, [INFO] [stdout] 1741 | | size: &ImVec2, [INFO] [stdout] 1742 | | flags: InputTextFlags, [INFO] [stdout] 1743 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1755:5 [INFO] [stdout] | [INFO] [stdout] 1755 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputTextWithHint` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1790:13 [INFO] [stdout] | [INFO] [stdout] 1790 | let r = ImGui_InputTextWithHint( [INFO] [stdout] | _____________^ [INFO] [stdout] 1791 | | label, [INFO] [stdout] 1792 | | hint, [INFO] [stdout] 1793 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 1797 | | text as *mut String as *mut c_void, [INFO] [stdout] 1798 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1782:1 [INFO] [stdout] | [INFO] [stdout] 1782 | / unsafe fn input_text_hint_wrapper( [INFO] [stdout] 1783 | | label: *const c_char, [INFO] [stdout] 1784 | | hint: *const c_char, [INFO] [stdout] 1785 | | text: &mut String, [INFO] [stdout] 1786 | | flags: InputTextFlags, [INFO] [stdout] 1787 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1799:5 [INFO] [stdout] | [INFO] [stdout] 1799 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_TreeNodeEx` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2002:32 [INFO] [stdout] | [INFO] [stdout] 2002 | LabelId::LblId(lbl) => ImGui_TreeNodeEx(lbl.into().as_ptr(), flags.bits()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1997:1 [INFO] [stdout] | [INFO] [stdout] 1997 | / unsafe fn tree_node_ex_helper( [INFO] [stdout] 1998 | | label_id: LabelId<'_, S, H>, [INFO] [stdout] 1999 | | flags: TreeNodeFlags, [INFO] [stdout] 2000 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2004:32 [INFO] [stdout] | [INFO] [stdout] 2004 | let (start, end) = text_ptrs(lbl); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_TreeNodeBehavior` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2006:13 [INFO] [stdout] | [INFO] [stdout] 2006 | ImGui_TreeNodeBehavior(id.get_id(), flags.bits(), start, end) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Hashable::get_id` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2006:36 [INFO] [stdout] | [INFO] [stdout] 2006 | ImGui_TreeNodeBehavior(id.get_id(), flags.bits(), start, end) [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2319:19 [INFO] [stdout] | [INFO] [stdout] 2319 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2318:5 [INFO] [stdout] | [INFO] [stdout] 2318 | unsafe fn run_callback(id: usize, x: X) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2319:20 [INFO] [stdout] | [INFO] [stdout] 2319 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2324:19 [INFO] [stdout] | [INFO] [stdout] 2324 | let ui = &*(io.BackendLanguageUserData as *const Self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2334:17 [INFO] [stdout] | [INFO] [stdout] 2334 | cb(&mut *ui.data, x.as_mut_ptr() as *mut c_void); [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3473:20 [INFO] [stdout] | [INFO] [stdout] 3473 | let ptr = &mut *ptr; [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3472:1 [INFO] [stdout] | [INFO] [stdout] 3472 | unsafe extern "C" fn call_size_callback(ptr: *mut ImGuiSizeCallbackData) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Ui::::run_callback` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3476:5 [INFO] [stdout] | [INFO] [stdout] 3476 | Ui::::run_callback(id, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3942:14 [INFO] [stdout] | [INFO] [stdout] 3942 | let id = (*cmd).UserCallbackData as usize; [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3938:1 [INFO] [stdout] | [INFO] [stdout] 3938 | / unsafe extern "C" fn call_drawlist_callback( [INFO] [stdout] 3939 | | _parent_lilst: *const ImDrawList, [INFO] [stdout] 3940 | | cmd: *const ImDrawCmd, [INFO] [stdout] 3941 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Ui::::run_callback` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3943:5 [INFO] [stdout] | [INFO] [stdout] 3943 | Ui::::run_callback(id, ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3955:28 [INFO] [stdout] | [INFO] [stdout] 3955 | let (start, end) = text_ptrs(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3954:5 [INFO] [stdout] | [INFO] [stdout] 3954 | unsafe fn get_id(&self) -> ImGuiID { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetID1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3956:9 [INFO] [stdout] | [INFO] [stdout] 3956 | ImGui_GetID1(start, end) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3959:28 [INFO] [stdout] | [INFO] [stdout] 3959 | let (start, end) = text_ptrs(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3958:5 [INFO] [stdout] | [INFO] [stdout] 3958 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushID1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3960:9 [INFO] [stdout] | [INFO] [stdout] 3960 | ImGui_PushID1(start, end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetID2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3966:9 [INFO] [stdout] | [INFO] [stdout] 3966 | ImGui_GetID2(*self as *const c_void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3965:5 [INFO] [stdout] | [INFO] [stdout] 3965 | unsafe fn get_id(&self) -> ImGuiID { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushID2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3969:9 [INFO] [stdout] | [INFO] [stdout] 3969 | ImGui_PushID2(*self as *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3968:5 [INFO] [stdout] | [INFO] [stdout] 3968 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3996:5 [INFO] [stdout] | [INFO] [stdout] 3996 | p.push(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3995:1 [INFO] [stdout] | [INFO] [stdout] 3995 | unsafe fn push_guard<'a, P: Pushable>(p: &'a P) -> PushableGuard<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4008:9 [INFO] [stdout] | [INFO] [stdout] 4008 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4007:5 [INFO] [stdout] | [INFO] [stdout] 4007 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4011:9 [INFO] [stdout] | [INFO] [stdout] 4011 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4010:5 [INFO] [stdout] | [INFO] [stdout] 4010 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4017:9 [INFO] [stdout] | [INFO] [stdout] 4017 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4016:5 [INFO] [stdout] | [INFO] [stdout] 4016 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4018:9 [INFO] [stdout] | [INFO] [stdout] 4018 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4021:9 [INFO] [stdout] | [INFO] [stdout] 4021 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4020:5 [INFO] [stdout] | [INFO] [stdout] 4020 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4022:9 [INFO] [stdout] | [INFO] [stdout] 4022 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4028:9 [INFO] [stdout] | [INFO] [stdout] 4028 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4027:5 [INFO] [stdout] | [INFO] [stdout] 4027 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4029:9 [INFO] [stdout] | [INFO] [stdout] 4029 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4030:9 [INFO] [stdout] | [INFO] [stdout] 4030 | self.2.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4033:9 [INFO] [stdout] | [INFO] [stdout] 4033 | self.2.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4032:5 [INFO] [stdout] | [INFO] [stdout] 4032 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4034:9 [INFO] [stdout] | [INFO] [stdout] 4034 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4035:9 [INFO] [stdout] | [INFO] [stdout] 4035 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4041:9 [INFO] [stdout] | [INFO] [stdout] 4041 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4040:5 [INFO] [stdout] | [INFO] [stdout] 4040 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4042:9 [INFO] [stdout] | [INFO] [stdout] 4042 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4043:9 [INFO] [stdout] | [INFO] [stdout] 4043 | self.2.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4044:9 [INFO] [stdout] | [INFO] [stdout] 4044 | self.3.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4047:9 [INFO] [stdout] | [INFO] [stdout] 4047 | self.3.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4046:5 [INFO] [stdout] | [INFO] [stdout] 4046 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4048:9 [INFO] [stdout] | [INFO] [stdout] 4048 | self.2.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4049:9 [INFO] [stdout] | [INFO] [stdout] 4049 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4050:9 [INFO] [stdout] | [INFO] [stdout] 4050 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4057:13 [INFO] [stdout] | [INFO] [stdout] 4057 | st.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4055:5 [INFO] [stdout] | [INFO] [stdout] 4055 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4062:13 [INFO] [stdout] | [INFO] [stdout] 4062 | st.pop(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4060:5 [INFO] [stdout] | [INFO] [stdout] 4060 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4071:13 [INFO] [stdout] | [INFO] [stdout] 4071 | s.push(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4069:5 [INFO] [stdout] | [INFO] [stdout] 4069 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4076:13 [INFO] [stdout] | [INFO] [stdout] 4076 | s.pop(); [INFO] [stdout] | ^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4074:5 [INFO] [stdout] | [INFO] [stdout] 4074 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushFont` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4083:9 [INFO] [stdout] | [INFO] [stdout] 4083 | ImGui_PushFont(font_ptr(*self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4082:5 [INFO] [stdout] | [INFO] [stdout] 4082 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `font_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4083:24 [INFO] [stdout] | [INFO] [stdout] 4083 | ImGui_PushFont(font_ptr(*self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopFont` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4086:9 [INFO] [stdout] | [INFO] [stdout] 4086 | ImGui_PopFont(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4085:5 [INFO] [stdout] | [INFO] [stdout] 4085 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleColor1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4106:9 [INFO] [stdout] | [INFO] [stdout] 4106 | ImGui_PushStyleColor1(self.0.bits(), &self.1.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4105:5 [INFO] [stdout] | [INFO] [stdout] 4105 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4109:9 [INFO] [stdout] | [INFO] [stdout] 4109 | ImGui_PopStyleColor(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4108:5 [INFO] [stdout] | [INFO] [stdout] 4108 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4116:13 [INFO] [stdout] | [INFO] [stdout] 4116 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4114:5 [INFO] [stdout] | [INFO] [stdout] 4114 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4120:9 [INFO] [stdout] | [INFO] [stdout] 4120 | ImGui_PopStyleColor(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4119:5 [INFO] [stdout] | [INFO] [stdout] 4119 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4126:9 [INFO] [stdout] | [INFO] [stdout] 4126 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4125:5 [INFO] [stdout] | [INFO] [stdout] 4125 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4129:9 [INFO] [stdout] | [INFO] [stdout] 4129 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4128:5 [INFO] [stdout] | [INFO] [stdout] 4128 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleColor1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4137:9 [INFO] [stdout] | [INFO] [stdout] 4137 | ImGui_PushStyleColor1(self.0.bits(), &self.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4136:5 [INFO] [stdout] | [INFO] [stdout] 4136 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4140:9 [INFO] [stdout] | [INFO] [stdout] 4140 | ImGui_PopStyleColor(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4139:5 [INFO] [stdout] | [INFO] [stdout] 4139 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4147:13 [INFO] [stdout] | [INFO] [stdout] 4147 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4145:5 [INFO] [stdout] | [INFO] [stdout] 4145 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4151:9 [INFO] [stdout] | [INFO] [stdout] 4151 | ImGui_PopStyleColor(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4150:5 [INFO] [stdout] | [INFO] [stdout] 4150 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4157:9 [INFO] [stdout] | [INFO] [stdout] 4157 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4156:5 [INFO] [stdout] | [INFO] [stdout] 4156 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4160:9 [INFO] [stdout] | [INFO] [stdout] 4160 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4159:5 [INFO] [stdout] | [INFO] [stdout] 4159 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4177:35 [INFO] [stdout] | [INFO] [stdout] 4177 | StyleValue::F32(f) => ImGui_PushStyleVar(self.0.bits(), f), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4175:5 [INFO] [stdout] | [INFO] [stdout] 4175 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVar1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4178:36 [INFO] [stdout] | [INFO] [stdout] 4178 | StyleValue::Vec2(v) => ImGui_PushStyleVar1(self.0.bits(), &v2_to_im(v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVarX` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4179:33 [INFO] [stdout] | [INFO] [stdout] 4179 | StyleValue::X(x) => ImGui_PushStyleVarX(self.0.bits(), x), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVarX` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4180:33 [INFO] [stdout] | [INFO] [stdout] 4180 | StyleValue::Y(y) => ImGui_PushStyleVarX(self.0.bits(), y), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4184:9 [INFO] [stdout] | [INFO] [stdout] 4184 | ImGui_PopStyleVar(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4183:5 [INFO] [stdout] | [INFO] [stdout] 4183 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4191:13 [INFO] [stdout] | [INFO] [stdout] 4191 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4189:5 [INFO] [stdout] | [INFO] [stdout] 4189 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4195:9 [INFO] [stdout] | [INFO] [stdout] 4195 | ImGui_PopStyleVar(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4194:5 [INFO] [stdout] | [INFO] [stdout] 4194 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4201:9 [INFO] [stdout] | [INFO] [stdout] 4201 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4200:5 [INFO] [stdout] | [INFO] [stdout] 4200 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4204:9 [INFO] [stdout] | [INFO] [stdout] 4204 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4203:5 [INFO] [stdout] | [INFO] [stdout] 4203 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushItemWidth` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4213:9 [INFO] [stdout] | [INFO] [stdout] 4213 | ImGui_PushItemWidth(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4212:5 [INFO] [stdout] | [INFO] [stdout] 4212 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopItemWidth` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4216:9 [INFO] [stdout] | [INFO] [stdout] 4216 | ImGui_PopItemWidth(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4215:5 [INFO] [stdout] | [INFO] [stdout] 4215 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Indent` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4225:9 [INFO] [stdout] | [INFO] [stdout] 4225 | ImGui_Indent(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4224:5 [INFO] [stdout] | [INFO] [stdout] 4224 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Unindent` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4228:9 [INFO] [stdout] | [INFO] [stdout] 4228 | ImGui_Unindent(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4227:5 [INFO] [stdout] | [INFO] [stdout] 4227 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushTextWrapPos` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4237:9 [INFO] [stdout] | [INFO] [stdout] 4237 | ImGui_PushTextWrapPos(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4236:5 [INFO] [stdout] | [INFO] [stdout] 4236 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopTextWrapPos` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4240:9 [INFO] [stdout] | [INFO] [stdout] 4240 | ImGui_PopTextWrapPos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4239:5 [INFO] [stdout] | [INFO] [stdout] 4239 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushItemFlag` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4246:9 [INFO] [stdout] | [INFO] [stdout] 4246 | ImGui_PushItemFlag(self.0.bits(), self.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4245:5 [INFO] [stdout] | [INFO] [stdout] 4245 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopItemFlag` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4249:9 [INFO] [stdout] | [INFO] [stdout] 4249 | ImGui_PopItemFlag(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4248:5 [INFO] [stdout] | [INFO] [stdout] 4248 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Hashable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4258:9 [INFO] [stdout] | [INFO] [stdout] 4258 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4257:5 [INFO] [stdout] | [INFO] [stdout] 4257 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopID` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4261:9 [INFO] [stdout] | [INFO] [stdout] 4261 | ImGui_PopID(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4260:5 [INFO] [stdout] | [INFO] [stdout] 4260 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_SetCurrentContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | ImGui_SetCurrentContext(self.imgui); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | pub unsafe fn set_current(&mut self) -> CurrentContext<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | pub unsafe fn add_config_flags(&mut self, flags: ConfigFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | (*io).ConfigFlags |= flags.bits(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | pub unsafe fn remove_config_flags(&mut self, flags: ConfigFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | (*io).ConfigFlags &= !flags.bits(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | pub unsafe fn set_size(&mut self, size: Vector2, scale: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | (*io).DisplaySize = v2_to_im(size); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `CurrentContext::<'_>::scale` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | if self.scale() != scale { [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | (*io).DisplayFramebufferScale = ImVec2 { x: scale, y: scale }; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | (*io).FontGlobalScale = scale.recip(); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | pub unsafe fn size(&self) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:418:18 [INFO] [stdout] | [INFO] [stdout] 418 | im_to_v2((*io).DisplaySize) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:421:18 [INFO] [stdout] | [INFO] [stdout] 421 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | pub unsafe fn scale(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | (*io).DisplayFramebufferScale.x [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:435:18 [INFO] [stdout] | [INFO] [stdout] 435 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub unsafe fn update_atlas<'ui, A: UiBuilder>(&'ui mut self, app: &mut A) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImFontAtlas_Clear` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | ImFontAtlas_Clear((*io).Fonts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 436 | ImFontAtlas_Clear((*io).Fonts); [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | (*(*io).Fonts).TexPixelsUseColors = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:437:11 [INFO] [stdout] | [INFO] [stdout] 437 | (*(*io).Fonts).TexPixelsUseColors = true; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | let scale = (*io).DisplayFramebufferScale.x; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:442:27 [INFO] [stdout] | [INFO] [stdout] 442 | ptr: &mut *(*io).Fonts, [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | ptr: &mut *(*io).Fonts, [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `FontAtlasMut::<'ui, A>::build_custom_rects` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | atlas.build_custom_rects(app); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetFrameCount` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | generation: ImGui_GetFrameCount() as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | / pub unsafe fn do_frame( [INFO] [stdout] 464 | | &mut self, [INFO] [stdout] 465 | | app: &mut A, [INFO] [stdout] 466 | | pre_render: impl FnOnce(), [INFO] [stdout] 467 | | render: impl FnOnce(&ImDrawData), [INFO] [stdout] 468 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:476:18 [INFO] [stdout] | [INFO] [stdout] 476 | let io = ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | (*io).BackendLanguageUserData = &ui as *const Ui as *mut c_void; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_NewFrame` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | ImGui_NewFrame(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Render` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | ImGui_Render(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | (*io).BackendLanguageUserData = &ui as *const Ui as *mut c_void; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetDrawData` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:508:25 [INFO] [stdout] | [INFO] [stdout] 508 | let draw_data = ImGui_GetDrawData(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | render(&*draw_data); [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `IntoCStr::push_to_non_null_vec` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | self.as_str().push_to_non_null_vec(bs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 644 | unsafe fn push_to_non_null_vec(self, bs: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:855:15 [INFO] [stdout] | [INFO] [stdout] 855 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:854:1 [INFO] [stdout] | [INFO] [stdout] 854 | unsafe fn font_ptr(font: FontId) -> *mut ImFont { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:855:16 [INFO] [stdout] | [INFO] [stdout] 855 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:856:18 [INFO] [stdout] | [INFO] [stdout] 856 | let fonts = &*io.Fonts; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 124 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1637:21 [INFO] [stdout] | [INFO] [stdout] 1637 | let data = &mut *data; [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1636:1 [INFO] [stdout] | [INFO] [stdout] 1636 | unsafe extern "C" fn input_text_callback(data: *mut ImGuiInputTextCallbackData) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1639:25 [INFO] [stdout] | [INFO] [stdout] 1639 | let this = &mut *(data.UserData as *mut String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::string::String::as_mut_vec` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1655:15 [INFO] [stdout] | [INFO] [stdout] 1655 | let buf = text.as_mut_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1654:1 [INFO] [stdout] | [INFO] [stdout] 1654 | unsafe fn text_post_edit(text: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1657:15 [INFO] [stdout] | [INFO] [stdout] 1657 | let len = CStr::from_ptr(buf.as_ptr() as *const c_char) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::set_len` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1660:5 [INFO] [stdout] | [INFO] [stdout] 1660 | buf.set_len(len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputText` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1671:13 [INFO] [stdout] | [INFO] [stdout] 1671 | let r = ImGui_InputText( [INFO] [stdout] | _____________^ [INFO] [stdout] 1672 | | label, [INFO] [stdout] 1673 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] 1674 | | text.capacity(), [INFO] [stdout] ... | [INFO] [stdout] 1677 | | text as *mut String as *mut c_void, [INFO] [stdout] 1678 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1663:1 [INFO] [stdout] | [INFO] [stdout] 1663 | / unsafe fn input_text_wrapper( [INFO] [stdout] 1664 | | label: *const c_char, [INFO] [stdout] 1665 | | text: &mut String, [INFO] [stdout] 1666 | | flags: InputTextFlags, [INFO] [stdout] 1667 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1679:5 [INFO] [stdout] | [INFO] [stdout] 1679 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `input_text_wrapper` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1713:15 [INFO] [stdout] | [INFO] [stdout] 1713 | let res = input_text_wrapper(label, &mut s, flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1703:1 [INFO] [stdout] | [INFO] [stdout] 1703 | / unsafe fn input_os_string_wrapper( [INFO] [stdout] 1704 | | label: *const c_char, [INFO] [stdout] 1705 | | os_string: &mut OsString, [INFO] [stdout] 1706 | | flags: InputTextFlags, [INFO] [stdout] 1707 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputTextMultiline` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1746:13 [INFO] [stdout] | [INFO] [stdout] 1746 | let r = ImGui_InputTextMultiline( [INFO] [stdout] | _____________^ [INFO] [stdout] 1747 | | label, [INFO] [stdout] 1748 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] 1749 | | text.capacity(), [INFO] [stdout] ... | [INFO] [stdout] 1753 | | text as *mut String as *mut c_void, [INFO] [stdout] 1754 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1738:1 [INFO] [stdout] | [INFO] [stdout] 1738 | / unsafe fn input_text_multiline_wrapper( [INFO] [stdout] 1739 | | label: *const c_char, [INFO] [stdout] 1740 | | text: &mut String, [INFO] [stdout] 1741 | | size: &ImVec2, [INFO] [stdout] 1742 | | flags: InputTextFlags, [INFO] [stdout] 1743 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1755:5 [INFO] [stdout] | [INFO] [stdout] 1755 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_InputTextWithHint` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1790:13 [INFO] [stdout] | [INFO] [stdout] 1790 | let r = ImGui_InputTextWithHint( [INFO] [stdout] | _____________^ [INFO] [stdout] 1791 | | label, [INFO] [stdout] 1792 | | hint, [INFO] [stdout] 1793 | | text.as_mut_ptr() as *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 1797 | | text as *mut String as *mut c_void, [INFO] [stdout] 1798 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1782:1 [INFO] [stdout] | [INFO] [stdout] 1782 | / unsafe fn input_text_hint_wrapper( [INFO] [stdout] 1783 | | label: *const c_char, [INFO] [stdout] 1784 | | hint: *const c_char, [INFO] [stdout] 1785 | | text: &mut String, [INFO] [stdout] 1786 | | flags: InputTextFlags, [INFO] [stdout] 1787 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_post_edit` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1799:5 [INFO] [stdout] | [INFO] [stdout] 1799 | text_post_edit(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `easy-imgui` (lib) due to 5 previous errors; 124 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_TreeNodeEx` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2002:32 [INFO] [stdout] | [INFO] [stdout] 2002 | LabelId::LblId(lbl) => ImGui_TreeNodeEx(lbl.into().as_ptr(), flags.bits()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:1997:1 [INFO] [stdout] | [INFO] [stdout] 1997 | / unsafe fn tree_node_ex_helper( [INFO] [stdout] 1998 | | label_id: LabelId<'_, S, H>, [INFO] [stdout] 1999 | | flags: TreeNodeFlags, [INFO] [stdout] 2000 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2004:32 [INFO] [stdout] | [INFO] [stdout] 2004 | let (start, end) = text_ptrs(lbl); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_TreeNodeBehavior` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2006:13 [INFO] [stdout] | [INFO] [stdout] 2006 | ImGui_TreeNodeBehavior(id.get_id(), flags.bits(), start, end) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Hashable::get_id` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2006:36 [INFO] [stdout] | [INFO] [stdout] 2006 | ImGui_TreeNodeBehavior(id.get_id(), flags.bits(), start, end) [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2319:19 [INFO] [stdout] | [INFO] [stdout] 2319 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2318:5 [INFO] [stdout] | [INFO] [stdout] 2318 | unsafe fn run_callback(id: usize, x: X) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetIO` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2319:20 [INFO] [stdout] | [INFO] [stdout] 2319 | let io = &*ImGui_GetIO(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2324:19 [INFO] [stdout] | [INFO] [stdout] 2324 | let ui = &*(io.BackendLanguageUserData as *const Self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2334:17 [INFO] [stdout] | [INFO] [stdout] 2334 | cb(&mut *ui.data, x.as_mut_ptr() as *mut c_void); [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3473:20 [INFO] [stdout] | [INFO] [stdout] 3473 | let ptr = &mut *ptr; [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3472:1 [INFO] [stdout] | [INFO] [stdout] 3472 | unsafe extern "C" fn call_size_callback(ptr: *mut ImGuiSizeCallbackData) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Ui::::run_callback` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3476:5 [INFO] [stdout] | [INFO] [stdout] 3476 | Ui::::run_callback(id, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3942:14 [INFO] [stdout] | [INFO] [stdout] 3942 | let id = (*cmd).UserCallbackData as usize; [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3938:1 [INFO] [stdout] | [INFO] [stdout] 3938 | / unsafe extern "C" fn call_drawlist_callback( [INFO] [stdout] 3939 | | _parent_lilst: *const ImDrawList, [INFO] [stdout] 3940 | | cmd: *const ImDrawCmd, [INFO] [stdout] 3941 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Ui::::run_callback` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3943:5 [INFO] [stdout] | [INFO] [stdout] 3943 | Ui::::run_callback(id, ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3955:28 [INFO] [stdout] | [INFO] [stdout] 3955 | let (start, end) = text_ptrs(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3954:5 [INFO] [stdout] | [INFO] [stdout] 3954 | unsafe fn get_id(&self) -> ImGuiID { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetID1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3956:9 [INFO] [stdout] | [INFO] [stdout] 3956 | ImGui_GetID1(start, end) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `text_ptrs` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3959:28 [INFO] [stdout] | [INFO] [stdout] 3959 | let (start, end) = text_ptrs(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3958:5 [INFO] [stdout] | [INFO] [stdout] 3958 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushID1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3960:9 [INFO] [stdout] | [INFO] [stdout] 3960 | ImGui_PushID1(start, end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_GetID2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3966:9 [INFO] [stdout] | [INFO] [stdout] 3966 | ImGui_GetID2(*self as *const c_void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3965:5 [INFO] [stdout] | [INFO] [stdout] 3965 | unsafe fn get_id(&self) -> ImGuiID { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushID2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3969:9 [INFO] [stdout] | [INFO] [stdout] 3969 | ImGui_PushID2(*self as *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3968:5 [INFO] [stdout] | [INFO] [stdout] 3968 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3996:5 [INFO] [stdout] | [INFO] [stdout] 3996 | p.push(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3995:1 [INFO] [stdout] | [INFO] [stdout] 3995 | unsafe fn push_guard<'a, P: Pushable>(p: &'a P) -> PushableGuard<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4008:9 [INFO] [stdout] | [INFO] [stdout] 4008 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4007:5 [INFO] [stdout] | [INFO] [stdout] 4007 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4011:9 [INFO] [stdout] | [INFO] [stdout] 4011 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4010:5 [INFO] [stdout] | [INFO] [stdout] 4010 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4017:9 [INFO] [stdout] | [INFO] [stdout] 4017 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4016:5 [INFO] [stdout] | [INFO] [stdout] 4016 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4018:9 [INFO] [stdout] | [INFO] [stdout] 4018 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4021:9 [INFO] [stdout] | [INFO] [stdout] 4021 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4020:5 [INFO] [stdout] | [INFO] [stdout] 4020 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4022:9 [INFO] [stdout] | [INFO] [stdout] 4022 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4028:9 [INFO] [stdout] | [INFO] [stdout] 4028 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4027:5 [INFO] [stdout] | [INFO] [stdout] 4027 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4029:9 [INFO] [stdout] | [INFO] [stdout] 4029 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4030:9 [INFO] [stdout] | [INFO] [stdout] 4030 | self.2.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4033:9 [INFO] [stdout] | [INFO] [stdout] 4033 | self.2.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4032:5 [INFO] [stdout] | [INFO] [stdout] 4032 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4034:9 [INFO] [stdout] | [INFO] [stdout] 4034 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4035:9 [INFO] [stdout] | [INFO] [stdout] 4035 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4041:9 [INFO] [stdout] | [INFO] [stdout] 4041 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4040:5 [INFO] [stdout] | [INFO] [stdout] 4040 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4042:9 [INFO] [stdout] | [INFO] [stdout] 4042 | self.1.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4043:9 [INFO] [stdout] | [INFO] [stdout] 4043 | self.2.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4044:9 [INFO] [stdout] | [INFO] [stdout] 4044 | self.3.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4047:9 [INFO] [stdout] | [INFO] [stdout] 4047 | self.3.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4046:5 [INFO] [stdout] | [INFO] [stdout] 4046 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4048:9 [INFO] [stdout] | [INFO] [stdout] 4048 | self.2.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4049:9 [INFO] [stdout] | [INFO] [stdout] 4049 | self.1.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4050:9 [INFO] [stdout] | [INFO] [stdout] 4050 | self.0.pop(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4057:13 [INFO] [stdout] | [INFO] [stdout] 4057 | st.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4055:5 [INFO] [stdout] | [INFO] [stdout] 4055 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4062:13 [INFO] [stdout] | [INFO] [stdout] 4062 | st.pop(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4060:5 [INFO] [stdout] | [INFO] [stdout] 4060 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4071:13 [INFO] [stdout] | [INFO] [stdout] 4071 | s.push(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4069:5 [INFO] [stdout] | [INFO] [stdout] 4069 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4076:13 [INFO] [stdout] | [INFO] [stdout] 4076 | s.pop(); [INFO] [stdout] | ^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4074:5 [INFO] [stdout] | [INFO] [stdout] 4074 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushFont` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4083:9 [INFO] [stdout] | [INFO] [stdout] 4083 | ImGui_PushFont(font_ptr(*self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4082:5 [INFO] [stdout] | [INFO] [stdout] 4082 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `font_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4083:24 [INFO] [stdout] | [INFO] [stdout] 4083 | ImGui_PushFont(font_ptr(*self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopFont` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4086:9 [INFO] [stdout] | [INFO] [stdout] 4086 | ImGui_PopFont(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4085:5 [INFO] [stdout] | [INFO] [stdout] 4085 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleColor1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4106:9 [INFO] [stdout] | [INFO] [stdout] 4106 | ImGui_PushStyleColor1(self.0.bits(), &self.1.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4105:5 [INFO] [stdout] | [INFO] [stdout] 4105 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4109:9 [INFO] [stdout] | [INFO] [stdout] 4109 | ImGui_PopStyleColor(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4108:5 [INFO] [stdout] | [INFO] [stdout] 4108 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4116:13 [INFO] [stdout] | [INFO] [stdout] 4116 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4114:5 [INFO] [stdout] | [INFO] [stdout] 4114 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4120:9 [INFO] [stdout] | [INFO] [stdout] 4120 | ImGui_PopStyleColor(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4119:5 [INFO] [stdout] | [INFO] [stdout] 4119 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4126:9 [INFO] [stdout] | [INFO] [stdout] 4126 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4125:5 [INFO] [stdout] | [INFO] [stdout] 4125 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4129:9 [INFO] [stdout] | [INFO] [stdout] 4129 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4128:5 [INFO] [stdout] | [INFO] [stdout] 4128 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleColor1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4137:9 [INFO] [stdout] | [INFO] [stdout] 4137 | ImGui_PushStyleColor1(self.0.bits(), &self.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4136:5 [INFO] [stdout] | [INFO] [stdout] 4136 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4140:9 [INFO] [stdout] | [INFO] [stdout] 4140 | ImGui_PopStyleColor(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4139:5 [INFO] [stdout] | [INFO] [stdout] 4139 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4147:13 [INFO] [stdout] | [INFO] [stdout] 4147 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4145:5 [INFO] [stdout] | [INFO] [stdout] 4145 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleColor` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4151:9 [INFO] [stdout] | [INFO] [stdout] 4151 | ImGui_PopStyleColor(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4150:5 [INFO] [stdout] | [INFO] [stdout] 4150 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4157:9 [INFO] [stdout] | [INFO] [stdout] 4157 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4156:5 [INFO] [stdout] | [INFO] [stdout] 4156 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4160:9 [INFO] [stdout] | [INFO] [stdout] 4160 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4159:5 [INFO] [stdout] | [INFO] [stdout] 4159 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4177:35 [INFO] [stdout] | [INFO] [stdout] 4177 | StyleValue::F32(f) => ImGui_PushStyleVar(self.0.bits(), f), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4175:5 [INFO] [stdout] | [INFO] [stdout] 4175 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVar1` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4178:36 [INFO] [stdout] | [INFO] [stdout] 4178 | StyleValue::Vec2(v) => ImGui_PushStyleVar1(self.0.bits(), &v2_to_im(v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVarX` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4179:33 [INFO] [stdout] | [INFO] [stdout] 4179 | StyleValue::X(x) => ImGui_PushStyleVarX(self.0.bits(), x), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushStyleVarX` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4180:33 [INFO] [stdout] | [INFO] [stdout] 4180 | StyleValue::Y(y) => ImGui_PushStyleVarX(self.0.bits(), y), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4184:9 [INFO] [stdout] | [INFO] [stdout] 4184 | ImGui_PopStyleVar(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4183:5 [INFO] [stdout] | [INFO] [stdout] 4183 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4191:13 [INFO] [stdout] | [INFO] [stdout] 4191 | sc.push(); [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4189:5 [INFO] [stdout] | [INFO] [stdout] 4189 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopStyleVar` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4195:9 [INFO] [stdout] | [INFO] [stdout] 4195 | ImGui_PopStyleVar(self.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4194:5 [INFO] [stdout] | [INFO] [stdout] 4194 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4201:9 [INFO] [stdout] | [INFO] [stdout] 4201 | self.as_slice().push(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4200:5 [INFO] [stdout] | [INFO] [stdout] 4200 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Pushable::pop` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4204:9 [INFO] [stdout] | [INFO] [stdout] 4204 | self.as_slice().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4203:5 [INFO] [stdout] | [INFO] [stdout] 4203 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushItemWidth` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4213:9 [INFO] [stdout] | [INFO] [stdout] 4213 | ImGui_PushItemWidth(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4212:5 [INFO] [stdout] | [INFO] [stdout] 4212 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopItemWidth` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4216:9 [INFO] [stdout] | [INFO] [stdout] 4216 | ImGui_PopItemWidth(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4215:5 [INFO] [stdout] | [INFO] [stdout] 4215 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Indent` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4225:9 [INFO] [stdout] | [INFO] [stdout] 4225 | ImGui_Indent(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4224:5 [INFO] [stdout] | [INFO] [stdout] 4224 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_Unindent` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4228:9 [INFO] [stdout] | [INFO] [stdout] 4228 | ImGui_Unindent(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4227:5 [INFO] [stdout] | [INFO] [stdout] 4227 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushTextWrapPos` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4237:9 [INFO] [stdout] | [INFO] [stdout] 4237 | ImGui_PushTextWrapPos(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4236:5 [INFO] [stdout] | [INFO] [stdout] 4236 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopTextWrapPos` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4240:9 [INFO] [stdout] | [INFO] [stdout] 4240 | ImGui_PopTextWrapPos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4239:5 [INFO] [stdout] | [INFO] [stdout] 4239 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PushItemFlag` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4246:9 [INFO] [stdout] | [INFO] [stdout] 4246 | ImGui_PushItemFlag(self.0.bits(), self.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4245:5 [INFO] [stdout] | [INFO] [stdout] 4245 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopItemFlag` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4249:9 [INFO] [stdout] | [INFO] [stdout] 4249 | ImGui_PopItemFlag(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4248:5 [INFO] [stdout] | [INFO] [stdout] 4248 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Hashable::push` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4258:9 [INFO] [stdout] | [INFO] [stdout] 4258 | self.0.push(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4257:5 [INFO] [stdout] | [INFO] [stdout] 4257 | unsafe fn push(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `easy_imgui_sys::ImGui_PopID` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:4261:9 [INFO] [stdout] | [INFO] [stdout] 4261 | ImGui_PopID(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:4260:5 [INFO] [stdout] | [INFO] [stdout] 4260 | unsafe fn pop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 124 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `easy-imgui` (lib test) due to 5 previous errors; 124 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c592deb318335a20c2fbdbdeabd1def4e9d48baa5b06d1f079e12bb6037b5748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c592deb318335a20c2fbdbdeabd1def4e9d48baa5b06d1f079e12bb6037b5748", kill_on_drop: false }` [INFO] [stdout] c592deb318335a20c2fbdbdeabd1def4e9d48baa5b06d1f079e12bb6037b5748