[INFO] fetching crate zydis 4.1.1... [INFO] checking zydis-4.1.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate zydis 4.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate zydis 4.1.1 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 zydis 4.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zydis 4.1.1 [INFO] tweaked toml for crates.io crate zydis 4.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate zydis 4.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3acb543c8a825fa936a2ef7624f1e45e4b0bc01cb0abda28c6bfac51e3adb6c1 [INFO] running `Command { std: "docker" "start" "-a" "3acb543c8a825fa936a2ef7624f1e45e4b0bc01cb0abda28c6bfac51e3adb6c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3acb543c8a825fa936a2ef7624f1e45e4b0bc01cb0abda28c6bfac51e3adb6c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3acb543c8a825fa936a2ef7624f1e45e4b0bc01cb0abda28c6bfac51e3adb6c1", kill_on_drop: false }` [INFO] [stdout] 3acb543c8a825fa936a2ef7624f1e45e4b0bc01cb0abda28c6bfac51e3adb6c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fa3874aa721616868760ce365187d9fbe694aa5c4cd027d6d1d2858e62c4e101 [INFO] running `Command { std: "docker" "start" "-a" "fa3874aa721616868760ce365187d9fbe694aa5c4cd027d6d1d2858e62c4e101", 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] Fixed Cargo.toml (1 fix) [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling zydis v4.1.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zydis` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/formatter.rs [INFO] [stderr] * src/status.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/status.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | ($error:expr_2021, $module:expr_2021, $code: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/status.rs:14:24 [INFO] [stderr] | [INFO] [stderr] 14 | ($error:expr_2021, $module:expr_2021, $code: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/status.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | ($error:expr_2021, $module:expr_2021, $code: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/status.rs:173:6 [INFO] [stderr] | [INFO] [stderr] 173 | ($expression: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/formatter.rs:134:80 [INFO] [stderr] | [INFO] [stderr] 134 | ($field_name:ident, $field_type:ty, $func_name:ident, $dispatch_func:path, $constructor: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 5 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/status.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | ($error:expr, $module:expr, $code: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] 14 | ($error:expr_2021, $module:expr, $code:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/status.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | ($error:expr, $module:expr, $code: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] 14 | ($error:expr, $module:expr_2021, $code:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/status.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | ($error:expr, $module:expr, $code: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] 14 | ($error:expr, $module:expr, $code: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/status.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | ($expression: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] 173 | ($expression:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/decoder.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 603 | | pub fn ZydisDecoderInit( [INFO] [stdout] 604 | | decoder: *mut Decoder, [INFO] [stdout] 605 | | machine_mode: MachineMode, [INFO] [stdout] ... | [INFO] [stdout] 637 | | ) -> Status; [INFO] [stdout] 638 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/formatter.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 234 | | pub fn ZydisFormatterInit(formatter: *mut Formatter, style: FormatterStyle) -> Status; [INFO] [stdout] 235 | | [INFO] [stdout] 236 | | pub fn ZydisFormatterSetProperty( [INFO] [stdout] ... | [INFO] [stdout] 320 | | ) -> Status; [INFO] [stdout] 321 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/misc.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | pub fn ZydisGetVersion() -> u64; [INFO] [stdout] 15 | | pub fn ZydisIsFeatureEnabled(feature: Feature) -> Status; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/misc.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 20 | | pub fn ZydisRegisterEncode(register_class: RegisterClass, id: u8) -> Register; [INFO] [stdout] 21 | | pub fn ZydisRegisterGetId(regster: Register) -> i8; [INFO] [stdout] 22 | | pub fn ZydisRegisterGetClass(register: Register) -> RegisterClass; [INFO] [stdout] ... | [INFO] [stdout] 27 | | pub fn ZydisRegisterClassGetWidth(mode: MachineMode, class: RegisterClass) -> RegisterWidth; [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/misc.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 32 | | pub fn ZydisCategoryGetString(category: InstructionCategory) -> *const c_char; [INFO] [stdout] 33 | | pub fn ZydisISASetGetString(isa_set: ISASet) -> *const c_char; [INFO] [stdout] 34 | | pub fn ZydisISAExtGetString(isa_ext: ISAExt) -> *const c_char; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/misc.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 39 | | pub fn ZydisMnemonicGetString(mnemonic: Mnemonic) -> *const c_char; [INFO] [stdout] 40 | | pub fn ZydisMnemonicGetShortString(mnemonic: Mnemonic) -> *const ShortString; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/utils.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 42 | | pub fn ZydisCalcAbsoluteAddress( [INFO] [stdout] 43 | | instruction: *const DecodedInstruction, [INFO] [stdout] 44 | | operand: *const DecodedOperand, [INFO] [stdout] ... | [INFO] [stdout] 60 | | ) -> Status; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/zycore.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 90 | | pub fn ZyanStringInitCustomBuffer( [INFO] [stdout] 91 | | string: *mut ZyanString, [INFO] [stdout] 92 | | buffer: *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 104 | | ) -> Status; [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/formatter.rs:134:93 [INFO] [stdout] | [INFO] [stdout] 134 | ($field_name:ident, $field_type:ty, $func_name:ident, $dispatch_func:path, $constructor: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] 134 | ($field_name:ident, $field_type:ty, $func_name:ident, $dispatch_func:path, $constructor:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:87:66 [INFO] [stdout] | [INFO] [stdout] 87 | FormatterFunction::PRE_INSTRUCTION => PreInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub unsafe fn from_raw(id: FormatterFunction, cb: *const c_void) -> Hook { [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 `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:88:68 [INFO] [stdout] | [INFO] [stdout] 88 | FormatterFunction::POST_INSTRUCTION => PostInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:89:72 [INFO] [stdout] | [INFO] [stdout] 89 | FormatterFunction::FORMAT_INSTRUCTION => FormatInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | FormatterFunction::PRE_OPERAND => PreOperand(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | FormatterFunction::POST_OPERAND => PostOperand(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:92:71 [INFO] [stdout] | [INFO] [stdout] 92 | FormatterFunction::FORMAT_OPERAND_REG => FormatOperandReg(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:93:71 [INFO] [stdout] | [INFO] [stdout] 93 | FormatterFunction::FORMAT_OPERAND_MEM => FormatOperandMem(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:94:71 [INFO] [stdout] | [INFO] [stdout] 94 | FormatterFunction::FORMAT_OPERAND_PTR => FormatOperandPtr(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:95:71 [INFO] [stdout] | [INFO] [stdout] 95 | FormatterFunction::FORMAT_OPERAND_IMM => FormatOperandImm(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:96:64 [INFO] [stdout] | [INFO] [stdout] 96 | FormatterFunction::PRINT_MNEMONIC => PrintMnemonic(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:97:64 [INFO] [stdout] | [INFO] [stdout] 97 | FormatterFunction::PRINT_REGISTER => PrintRegister(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:98:69 [INFO] [stdout] | [INFO] [stdout] 98 | FormatterFunction::PRINT_ADDRESS_ABS => PrintAddressAbs(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:99:69 [INFO] [stdout] | [INFO] [stdout] 99 | FormatterFunction::PRINT_ADDRESS_REL => PrintAddressRel(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:100:56 [INFO] [stdout] | [INFO] [stdout] 100 | FormatterFunction::PRINT_DISP => PrintDisp(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:101:54 [INFO] [stdout] | [INFO] [stdout] 101 | FormatterFunction::PRINT_IMM => PrintImm(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:102:64 [INFO] [stdout] | [INFO] [stdout] 102 | FormatterFunction::PRINT_TYPECAST => PrintTypecast(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | FormatterFunction::PRINT_SEGMENT => PrintSegment(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:104:64 [INFO] [stdout] | [INFO] [stdout] 104 | FormatterFunction::PRINT_PREFIXES => PrintPrefixes(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:105:66 [INFO] [stdout] | [INFO] [stdout] 105 | FormatterFunction::PRINT_DECORATOR => PrintDecorator(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | Some(&mut *(user_data as *mut UserData)) [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/formatter.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe fn get_user_data<'a, UserData>(user_data: *mut c_void) -> Option<&'a mut UserData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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/formatter.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 176 | | formatter: *const ffi::Formatter, [INFO] [stdout] 177 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 178 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 179 | | reg: Register, [INFO] [stdout] 180 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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/formatter.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 196 | | formatter: *const ffi::Formatter, [INFO] [stdout] 197 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 198 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 199 | | decorator: Decorator, [INFO] [stdout] 200 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::Hook::to_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:801:22 [INFO] [stdout] | [INFO] [stdout] 801 | let mut cb = hook.to_raw(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 800 | pub unsafe fn set_raw_hook(&mut self, hook: Hook) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::formatter::ZydisFormatterSetHook` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | ffi::ZydisFormatterSetHook(&mut self.formatter, hook_id as _, &mut cb).as_result()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `formatter::Hook::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:804:12 [INFO] [stdout] | [INFO] [stdout] 804 | Ok(Hook::from_raw(hook_id, cb)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: 126 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/status.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | ($error:expr, $module:expr, $code: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] 14 | ($error:expr_2021, $module:expr, $code:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/tokens.rs from 2021 edition to 2024 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/status.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | ($error:expr, $module:expr, $code: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] 14 | ($error:expr, $module:expr_2021, $code:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zydis` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/status.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | ($error:expr, $module:expr, $code: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] 14 | ($error:expr, $module:expr, $code:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/status.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | ($expression: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] 173 | ($expression:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/decoder.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 603 | | pub fn ZydisDecoderInit( [INFO] [stdout] 604 | | decoder: *mut Decoder, [INFO] [stdout] 605 | | machine_mode: MachineMode, [INFO] [stdout] ... | [INFO] [stdout] 637 | | ) -> Status; [INFO] [stdout] 638 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/formatter.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 234 | | pub fn ZydisFormatterInit(formatter: *mut Formatter, style: FormatterStyle) -> Status; [INFO] [stdout] 235 | | [INFO] [stdout] 236 | | pub fn ZydisFormatterSetProperty( [INFO] [stdout] ... | [INFO] [stdout] 320 | | ) -> Status; [INFO] [stdout] 321 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/formatter.rs [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/misc.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | pub fn ZydisGetVersion() -> u64; [INFO] [stdout] 15 | | pub fn ZydisIsFeatureEnabled(feature: Feature) -> Status; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/status.rs [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/misc.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 20 | | pub fn ZydisRegisterEncode(register_class: RegisterClass, id: u8) -> Register; [INFO] [stdout] 21 | | pub fn ZydisRegisterGetId(regster: Register) -> i8; [INFO] [stdout] 22 | | pub fn ZydisRegisterGetClass(register: Register) -> RegisterClass; [INFO] [stdout] ... | [INFO] [stdout] 27 | | pub fn ZydisRegisterClassGetWidth(mode: MachineMode, class: RegisterClass) -> RegisterWidth; [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/misc.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 32 | | pub fn ZydisCategoryGetString(category: InstructionCategory) -> *const c_char; [INFO] [stdout] 33 | | pub fn ZydisISASetGetString(isa_set: ISASet) -> *const c_char; [INFO] [stdout] 34 | | pub fn ZydisISAExtGetString(isa_ext: ISAExt) -> *const c_char; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/misc.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 39 | | pub fn ZydisMnemonicGetString(mnemonic: Mnemonic) -> *const c_char; [INFO] [stdout] 40 | | pub fn ZydisMnemonicGetShortString(mnemonic: Mnemonic) -> *const ShortString; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/utils.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 42 | | pub fn ZydisCalcAbsoluteAddress( [INFO] [stdout] 43 | | instruction: *const DecodedInstruction, [INFO] [stdout] 44 | | operand: *const DecodedOperand, [INFO] [stdout] ... | [INFO] [stdout] 60 | | ) -> Status; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/zycore.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 90 | | pub fn ZyanStringInitCustomBuffer( [INFO] [stdout] 91 | | string: *mut ZyanString, [INFO] [stdout] 92 | | buffer: *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 104 | | ) -> Status; [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/formatter.rs:134:93 [INFO] [stdout] | [INFO] [stdout] 134 | ($field_name:ident, $field_type:ty, $func_name:ident, $dispatch_func:path, $constructor: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] 134 | ($field_name:ident, $field_type:ty, $func_name:ident, $dispatch_func:path, $constructor:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:87:66 [INFO] [stdout] | [INFO] [stdout] 87 | FormatterFunction::PRE_INSTRUCTION => PreInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub unsafe fn from_raw(id: FormatterFunction, cb: *const c_void) -> Hook { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [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/status.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | ($error:expr_2021, $module:expr_2021, $code: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/status.rs:14:24 [INFO] [stderr] | [INFO] [stderr] 14 | ($error:expr_2021, $module:expr_2021, $code: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/status.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | ($error:expr_2021, $module:expr_2021, $code: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/status.rs:173:6 [INFO] [stderr] | [INFO] [stderr] 173 | ($expression: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/formatter.rs:134:80 [INFO] [stderr] | [INFO] [stderr] 134 | ($field_name:ident, $field_type:ty, $func_name:ident, $dispatch_func:path, $constructor: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 5 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[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:88:68 [INFO] [stdout] | [INFO] [stdout] 88 | FormatterFunction::POST_INSTRUCTION => PostInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:89:72 [INFO] [stdout] | [INFO] [stdout] 89 | FormatterFunction::FORMAT_INSTRUCTION => FormatInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | FormatterFunction::PRE_OPERAND => PreOperand(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | FormatterFunction::POST_OPERAND => PostOperand(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:92:71 [INFO] [stdout] | [INFO] [stdout] 92 | FormatterFunction::FORMAT_OPERAND_REG => FormatOperandReg(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:93:71 [INFO] [stdout] | [INFO] [stdout] 93 | FormatterFunction::FORMAT_OPERAND_MEM => FormatOperandMem(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:94:71 [INFO] [stdout] | [INFO] [stdout] 94 | FormatterFunction::FORMAT_OPERAND_PTR => FormatOperandPtr(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:95:71 [INFO] [stdout] | [INFO] [stdout] 95 | FormatterFunction::FORMAT_OPERAND_IMM => FormatOperandImm(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:96:64 [INFO] [stdout] | [INFO] [stdout] 96 | FormatterFunction::PRINT_MNEMONIC => PrintMnemonic(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:97:64 [INFO] [stdout] | [INFO] [stdout] 97 | FormatterFunction::PRINT_REGISTER => PrintRegister(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:98:69 [INFO] [stdout] | [INFO] [stdout] 98 | FormatterFunction::PRINT_ADDRESS_ABS => PrintAddressAbs(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:99:69 [INFO] [stdout] | [INFO] [stdout] 99 | FormatterFunction::PRINT_ADDRESS_REL => PrintAddressRel(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:100:56 [INFO] [stdout] | [INFO] [stdout] 100 | FormatterFunction::PRINT_DISP => PrintDisp(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:101:54 [INFO] [stdout] | [INFO] [stdout] 101 | FormatterFunction::PRINT_IMM => PrintImm(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:102:64 [INFO] [stdout] | [INFO] [stdout] 102 | FormatterFunction::PRINT_TYPECAST => PrintTypecast(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | FormatterFunction::PRINT_SEGMENT => PrintSegment(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:104:64 [INFO] [stdout] | [INFO] [stdout] 104 | FormatterFunction::PRINT_PREFIXES => PrintPrefixes(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:105:66 [INFO] [stdout] | [INFO] [stdout] 105 | FormatterFunction::PRINT_DECORATOR => PrintDecorator(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | Some(&mut *(user_data as *mut UserData)) [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/formatter.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe fn get_user_data<'a, UserData>(user_data: *mut c_void) -> Option<&'a mut UserData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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/formatter.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 176 | | formatter: *const ffi::Formatter, [INFO] [stdout] 177 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 178 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 179 | | reg: Register, [INFO] [stdout] 180 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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/formatter.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 196 | | formatter: *const ffi::Formatter, [INFO] [stdout] 197 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 198 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 199 | | decorator: Decorator, [INFO] [stdout] 200 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::Hook::to_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:801:22 [INFO] [stdout] | [INFO] [stdout] 801 | let mut cb = hook.to_raw(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 800 | pub unsafe fn set_raw_hook(&mut self, hook: Hook) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::formatter::ZydisFormatterSetHook` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | ffi::ZydisFormatterSetHook(&mut self.formatter, hook_id as _, &mut cb).as_result()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `formatter::Hook::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:804:12 [INFO] [stdout] | [INFO] [stdout] 804 | Ok(Hook::from_raw(hook_id, cb)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: 126 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating examples/simple.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/pattern.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/instruction_segments.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/formatter_hooks.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/formatter_symbols.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/formatter_symbols.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.56s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling zydis v4.1.1 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/decoder.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | / extern "C" { [INFO] [stdout] 603 | | pub fn ZydisDecoderInit( [INFO] [stdout] 604 | | decoder: *mut Decoder, [INFO] [stdout] 605 | | machine_mode: MachineMode, [INFO] [stdout] ... | [INFO] [stdout] 637 | | ) -> Status; [INFO] [stdout] 638 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/formatter.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | / extern "C" { [INFO] [stdout] 234 | | pub fn ZydisFormatterInit(formatter: *mut Formatter, style: FormatterStyle) -> Status; [INFO] [stdout] 235 | | [INFO] [stdout] 236 | | pub fn ZydisFormatterSetProperty( [INFO] [stdout] ... | [INFO] [stdout] 320 | | ) -> Status; [INFO] [stdout] 321 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/misc.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | pub fn ZydisGetVersion() -> u64; [INFO] [stdout] 15 | | pub fn ZydisIsFeatureEnabled(feature: Feature) -> Status; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/misc.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / extern "C" { [INFO] [stdout] 20 | | pub fn ZydisRegisterEncode(register_class: RegisterClass, id: u8) -> Register; [INFO] [stdout] 21 | | pub fn ZydisRegisterGetId(regster: Register) -> i8; [INFO] [stdout] 22 | | pub fn ZydisRegisterGetClass(register: Register) -> RegisterClass; [INFO] [stdout] ... | [INFO] [stdout] 27 | | pub fn ZydisRegisterClassGetWidth(mode: MachineMode, class: RegisterClass) -> RegisterWidth; [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/misc.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / extern "C" { [INFO] [stdout] 32 | | pub fn ZydisCategoryGetString(category: InstructionCategory) -> *const c_char; [INFO] [stdout] 33 | | pub fn ZydisISASetGetString(isa_set: ISASet) -> *const c_char; [INFO] [stdout] 34 | | pub fn ZydisISAExtGetString(isa_ext: ISAExt) -> *const c_char; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/misc.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / extern "C" { [INFO] [stdout] 39 | | pub fn ZydisMnemonicGetString(mnemonic: Mnemonic) -> *const c_char; [INFO] [stdout] 40 | | pub fn ZydisMnemonicGetShortString(mnemonic: Mnemonic) -> *const ShortString; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/utils.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / extern "C" { [INFO] [stdout] 42 | | pub fn ZydisCalcAbsoluteAddress( [INFO] [stdout] 43 | | instruction: *const DecodedInstruction, [INFO] [stdout] 44 | | operand: *const DecodedOperand, [INFO] [stdout] ... | [INFO] [stdout] 60 | | ) -> Status; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/zycore.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / extern "C" { [INFO] [stdout] 90 | | pub fn ZyanStringInitCustomBuffer( [INFO] [stdout] 91 | | string: *mut ZyanString, [INFO] [stdout] 92 | | buffer: *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 104 | | ) -> Status; [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/decoder.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | / extern "C" { [INFO] [stdout] 603 | | pub fn ZydisDecoderInit( [INFO] [stdout] 604 | | decoder: *mut Decoder, [INFO] [stdout] 605 | | machine_mode: MachineMode, [INFO] [stdout] ... | [INFO] [stdout] 637 | | ) -> Status; [INFO] [stdout] 638 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/formatter.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | / extern "C" { [INFO] [stdout] 234 | | pub fn ZydisFormatterInit(formatter: *mut Formatter, style: FormatterStyle) -> Status; [INFO] [stdout] 235 | | [INFO] [stdout] 236 | | pub fn ZydisFormatterSetProperty( [INFO] [stdout] ... | [INFO] [stdout] 320 | | ) -> Status; [INFO] [stdout] 321 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/misc.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / extern "C" { [INFO] [stdout] 14 | | pub fn ZydisGetVersion() -> u64; [INFO] [stdout] 15 | | pub fn ZydisIsFeatureEnabled(feature: Feature) -> Status; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/misc.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / extern "C" { [INFO] [stdout] 20 | | pub fn ZydisRegisterEncode(register_class: RegisterClass, id: u8) -> Register; [INFO] [stdout] 21 | | pub fn ZydisRegisterGetId(regster: Register) -> i8; [INFO] [stdout] 22 | | pub fn ZydisRegisterGetClass(register: Register) -> RegisterClass; [INFO] [stdout] ... | [INFO] [stdout] 27 | | pub fn ZydisRegisterClassGetWidth(mode: MachineMode, class: RegisterClass) -> RegisterWidth; [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/misc.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / extern "C" { [INFO] [stdout] 32 | | pub fn ZydisCategoryGetString(category: InstructionCategory) -> *const c_char; [INFO] [stdout] 33 | | pub fn ZydisISASetGetString(isa_set: ISASet) -> *const c_char; [INFO] [stdout] 34 | | pub fn ZydisISAExtGetString(isa_ext: ISAExt) -> *const c_char; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/misc.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / extern "C" { [INFO] [stdout] 39 | | pub fn ZydisMnemonicGetString(mnemonic: Mnemonic) -> *const c_char; [INFO] [stdout] 40 | | pub fn ZydisMnemonicGetShortString(mnemonic: Mnemonic) -> *const ShortString; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/utils.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / extern "C" { [INFO] [stdout] 42 | | pub fn ZydisCalcAbsoluteAddress( [INFO] [stdout] 43 | | instruction: *const DecodedInstruction, [INFO] [stdout] 44 | | operand: *const DecodedOperand, [INFO] [stdout] ... | [INFO] [stdout] 60 | | ) -> Status; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/zycore.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / extern "C" { [INFO] [stdout] 90 | | pub fn ZyanStringInitCustomBuffer( [INFO] [stdout] 91 | | string: *mut ZyanString, [INFO] [stdout] 92 | | buffer: *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 104 | | ) -> Status; [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:87:66 [INFO] [stdout] | [INFO] [stdout] 87 | FormatterFunction::PRE_INSTRUCTION => PreInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub unsafe fn from_raw(id: FormatterFunction, cb: *const c_void) -> Hook { [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 `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:88:68 [INFO] [stdout] | [INFO] [stdout] 88 | FormatterFunction::POST_INSTRUCTION => PostInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:89:72 [INFO] [stdout] | [INFO] [stdout] 89 | FormatterFunction::FORMAT_INSTRUCTION => FormatInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | FormatterFunction::PRE_OPERAND => PreOperand(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | FormatterFunction::POST_OPERAND => PostOperand(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:92:71 [INFO] [stdout] | [INFO] [stdout] 92 | FormatterFunction::FORMAT_OPERAND_REG => FormatOperandReg(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:93:71 [INFO] [stdout] | [INFO] [stdout] 93 | FormatterFunction::FORMAT_OPERAND_MEM => FormatOperandMem(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:94:71 [INFO] [stdout] | [INFO] [stdout] 94 | FormatterFunction::FORMAT_OPERAND_PTR => FormatOperandPtr(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:95:71 [INFO] [stdout] | [INFO] [stdout] 95 | FormatterFunction::FORMAT_OPERAND_IMM => FormatOperandImm(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:96:64 [INFO] [stdout] | [INFO] [stdout] 96 | FormatterFunction::PRINT_MNEMONIC => PrintMnemonic(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:97:64 [INFO] [stdout] | [INFO] [stdout] 97 | FormatterFunction::PRINT_REGISTER => PrintRegister(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:98:69 [INFO] [stdout] | [INFO] [stdout] 98 | FormatterFunction::PRINT_ADDRESS_ABS => PrintAddressAbs(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:99:69 [INFO] [stdout] | [INFO] [stdout] 99 | FormatterFunction::PRINT_ADDRESS_REL => PrintAddressRel(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:100:56 [INFO] [stdout] | [INFO] [stdout] 100 | FormatterFunction::PRINT_DISP => PrintDisp(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:87:66 [INFO] [stdout] | [INFO] [stdout] 87 | FormatterFunction::PRE_INSTRUCTION => PreInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub unsafe fn from_raw(id: FormatterFunction, cb: *const c_void) -> Hook { [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 `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:101:54 [INFO] [stdout] | [INFO] [stdout] 101 | FormatterFunction::PRINT_IMM => PrintImm(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:102:64 [INFO] [stdout] | [INFO] [stdout] 102 | FormatterFunction::PRINT_TYPECAST => PrintTypecast(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:88:68 [INFO] [stdout] | [INFO] [stdout] 88 | FormatterFunction::POST_INSTRUCTION => PostInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | FormatterFunction::PRINT_SEGMENT => PrintSegment(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:104:64 [INFO] [stdout] | [INFO] [stdout] 104 | FormatterFunction::PRINT_PREFIXES => PrintPrefixes(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:89:72 [INFO] [stdout] | [INFO] [stdout] 89 | FormatterFunction::FORMAT_INSTRUCTION => FormatInstruction(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:105:66 [INFO] [stdout] | [INFO] [stdout] 105 | FormatterFunction::PRINT_DECORATOR => PrintDecorator(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | FormatterFunction::PRE_OPERAND => PreOperand(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | FormatterFunction::POST_OPERAND => PostOperand(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:92:71 [INFO] [stdout] | [INFO] [stdout] 92 | FormatterFunction::FORMAT_OPERAND_REG => FormatOperandReg(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | Some(&mut *(user_data as *mut UserData)) [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/formatter.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe fn get_user_data<'a, UserData>(user_data: *mut c_void) -> Option<&'a mut UserData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:93:71 [INFO] [stdout] | [INFO] [stdout] 93 | FormatterFunction::FORMAT_OPERAND_MEM => FormatOperandMem(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:94:71 [INFO] [stdout] | [INFO] [stdout] 94 | FormatterFunction::FORMAT_OPERAND_PTR => FormatOperandPtr(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:95:71 [INFO] [stdout] | [INFO] [stdout] 95 | FormatterFunction::FORMAT_OPERAND_IMM => FormatOperandImm(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:96:64 [INFO] [stdout] | [INFO] [stdout] 96 | FormatterFunction::PRINT_MNEMONIC => PrintMnemonic(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:97:64 [INFO] [stdout] | [INFO] [stdout] 97 | FormatterFunction::PRINT_REGISTER => PrintRegister(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:98:69 [INFO] [stdout] | [INFO] [stdout] 98 | FormatterFunction::PRINT_ADDRESS_ABS => PrintAddressAbs(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:99:69 [INFO] [stdout] | [INFO] [stdout] 99 | FormatterFunction::PRINT_ADDRESS_REL => PrintAddressRel(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:100:56 [INFO] [stdout] | [INFO] [stdout] 100 | FormatterFunction::PRINT_DISP => PrintDisp(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:101:54 [INFO] [stdout] | [INFO] [stdout] 101 | FormatterFunction::PRINT_IMM => PrintImm(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:102:64 [INFO] [stdout] | [INFO] [stdout] 102 | FormatterFunction::PRINT_TYPECAST => PrintTypecast(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | FormatterFunction::PRINT_SEGMENT => PrintSegment(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:104:64 [INFO] [stdout] | [INFO] [stdout] 104 | FormatterFunction::PRINT_PREFIXES => PrintPrefixes(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:105:66 [INFO] [stdout] | [INFO] [stdout] 105 | FormatterFunction::PRINT_DECORATOR => PrintDecorator(mem::transmute(cb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | Some(&mut *(user_data as *mut UserData)) [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/formatter.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe fn get_user_data<'a, UserData>(user_data: *mut c_void) -> Option<&'a mut UserData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 216 | wrap_func!(general pre_instruction, dispatch_pre_instruction); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 217 | wrap_func!(general post_instruction, dispatch_post_instruction); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | wrap_func!(general pre_operand, dispatch_pre_operand); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 219 | wrap_func!(general post_operand, dispatch_post_operand); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 220 | wrap_func!(general format_instruction, dispatch_format_instruction); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 221 | wrap_func!(general format_operand_reg, dispatch_format_operand_reg); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | wrap_func!(general format_operand_mem, dispatch_format_operand_mem); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | wrap_func!(general format_operand_ptr, dispatch_format_operand_ptr); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 224 | wrap_func!(general format_operand_imm, dispatch_format_operand_imm); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 225 | wrap_func!(general print_mnemonic, dispatch_print_mnemonic); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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/formatter.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 176 | | formatter: *const ffi::Formatter, [INFO] [stdout] 177 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 178 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 179 | | reg: Register, [INFO] [stdout] 180 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | wrap_func!(general print_disp, dispatch_print_disp); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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/formatter.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 196 | | formatter: *const ffi::Formatter, [INFO] [stdout] 197 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 198 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 199 | | decorator: Decorator, [INFO] [stdout] 200 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | wrap_func!(general print_imm, dispatch_print_imm); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 228 | wrap_func!(general print_typecast, dispatch_print_typecast); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 229 | wrap_func!(general print_prefixes, dispatch_print_prefixes); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | wrap_func!(general print_address_abs, dispatch_print_address_abs); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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/formatter.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 158 | | formatter: *const ffi::Formatter, [INFO] [stdout] 159 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 160 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 161 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 231 | wrap_func!(general print_address_rel, dispatch_print_address_rel); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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/formatter.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 176 | | formatter: *const ffi::Formatter, [INFO] [stdout] 177 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 178 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 179 | | reg: Register, [INFO] [stdout] 180 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 232 | wrap_func!(register print_register, dispatch_print_register); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | let formatter = &*(formatter as *const Formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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/formatter.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | / unsafe extern "C" fn $func_name( [INFO] [stdout] 196 | | formatter: *const ffi::Formatter, [INFO] [stdout] 197 | | buffer: *mut ffi::FormatterBuffer, [INFO] [stdout] 198 | | ctx: *mut ffi::FormatterContext, [INFO] [stdout] 199 | | decorator: Decorator, [INFO] [stdout] 200 | | ) -> Status { [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | &mut *buffer, [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | &mut *ctx, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::get_user_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | get_user_data((*ctx).user_data), [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 233 | wrap_func!(decorator print_decorator, dispatch_print_decorator); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `wrap_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `formatter::Hook::to_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:801:22 [INFO] [stdout] | [INFO] [stdout] 801 | let mut cb = hook.to_raw(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 800 | pub unsafe fn set_raw_hook(&mut self, hook: Hook) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::formatter::ZydisFormatterSetHook` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | ffi::ZydisFormatterSetHook(&mut self.formatter, hook_id as _, &mut cb).as_result()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `formatter::Hook::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:804:12 [INFO] [stdout] | [INFO] [stdout] 804 | Ok(Hook::from_raw(hook_id, cb)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `formatter::Hook::to_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:801:22 [INFO] [stdout] | [INFO] [stdout] 801 | let mut cb = hook.to_raw(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/formatter.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 800 | pub unsafe fn set_raw_hook(&mut self, hook: Hook) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::formatter::ZydisFormatterSetHook` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | ffi::ZydisFormatterSetHook(&mut self.formatter, hook_id as _, &mut cb).as_result()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `formatter::Hook::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/formatter.rs:804:12 [INFO] [stdout] | [INFO] [stdout] 804 | Ok(Hook::from_raw(hook_id, cb)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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] error: aborting due to 8 previous errors; 113 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 113 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 `zydis` (lib) due to 9 previous errors; 113 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zydis` (lib test) due to 9 previous errors; 113 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" "fa3874aa721616868760ce365187d9fbe694aa5c4cd027d6d1d2858e62c4e101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa3874aa721616868760ce365187d9fbe694aa5c4cd027d6d1d2858e62c4e101", kill_on_drop: false }` [INFO] [stdout] fa3874aa721616868760ce365187d9fbe694aa5c4cd027d6d1d2858e62c4e101