[INFO] fetching crate arma-rs 1.11.0... [INFO] checking arma-rs-1.11.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate arma-rs 1.11.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate arma-rs 1.11.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate arma-rs 1.11.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate arma-rs 1.11.0 [INFO] tweaked toml for crates.io crate arma-rs 1.11.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate arma-rs 1.11.0 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f9a12382bdae6545ea11f5ee06309ef322d84c7ca37d534f40cd63bce3dc543 [INFO] running `Command { std: "docker" "start" "-a" "1f9a12382bdae6545ea11f5ee06309ef322d84c7ca37d534f40cd63bce3dc543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f9a12382bdae6545ea11f5ee06309ef322d84c7ca37d534f40cd63bce3dc543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9a12382bdae6545ea11f5ee06309ef322d84c7ca37d534f40cd63bce3dc543", kill_on_drop: false }` [INFO] [stdout] 1f9a12382bdae6545ea11f5ee06309ef322d84c7ca37d534f40cd63bce3dc543 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] bf909a1f58a571fe0f5ca763845d476dc353d4aaf85bc85fa1f4cbad5381ee2a [INFO] running `Command { std: "docker" "start" "-a" "bf909a1f58a571fe0f5ca763845d476dc353d4aaf85bc85fa1f4cbad5381ee2a", 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 (6 fixes) [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Compiling arma-rs v1.11.0 (/tmp/fixit) [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking state v0.6.0 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_edit v0.22.21 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling arma-rs-proc v1.11.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `arma_rs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/command.rs [INFO] [stderr] * src/value/from_arma.rs [INFO] [stderr] * src/value/into_arma.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/value/from_arma.rs:156:7 [INFO] [stderr] | [INFO] [stderr] 156 | { $c: expr_2021, $($t:ident)* } => { [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/value/into_arma.rs:25:7 [INFO] [stderr] | [INFO] [stderr] 25 | { $c: expr_2021, $($t:ident)* } => { [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/command.rs:82:16 [INFO] [stderr] | [INFO] [stderr] 82 | ($s:ident, $c:expr_2021, $count:expr_2021, $output:expr_2021, $size:expr_2021, $args:expr_2021, ($( $vars:ident )*), ($( $param:ident... [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/command.rs:82:30 [INFO] [stderr] | [INFO] [stderr] 82 | ($s:ident, $c:expr_2021, $count:expr_2021, $output:expr_2021, $size:expr_2021, $args:expr_2021, ($( $vars:ident )*), ($( $param:ident... [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/command.rs:82:48 [INFO] [stderr] | [INFO] [stderr] 82 | ($s:ident, $c:expr_2021, $count:expr_2021, $output:expr_2021, $size:expr_2021, $args:expr_2021, ($( $vars:ident )*), ($( $param:ident... [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/command.rs:82:67 [INFO] [stderr] | [INFO] [stderr] 82 | ($s:ident, $c:expr_2021, $count:expr_2021, $output:expr_2021, $size:expr_2021, $args:expr_2021, ($( $vars:ident )*), ($( $param:ident... [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/command.rs:82:84 [INFO] [stderr] | [INFO] [stderr] 82 | ($s:ident, $c:expr_2021, $count:expr_2021, $output:expr_2021, $size:expr_2021, $args:expr_2021, ($( $vars:ident )*), ($( $param:ident... [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/command.rs:128:31 [INFO] [stderr] | [INFO] [stderr] 128 | macro_rules! factory_tuple ({ $c: expr_2021, $($param:ident)* } => { [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 8 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: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 82 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/value/from_arma.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | { $c: expr, $($t:ident)* } => { [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] 156 | { $c: expr_2021, $($t:ident)* } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/value/into_arma.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | { $c: expr, $($t:ident)* } => { [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] 25 | { $c: expr_2021, $($t:ident)* } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/command.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | ($s:ident, $c:expr, $count:expr, $output:expr, $size:expr, $args:expr, ($( $vars:ident )*), ($( $param:ident, )*)) => {{ [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] 82 | ($s:ident, $c:expr_2021, $count:expr, $output:expr, $size:expr, $args:expr, ($( $vars:ident )*), ($( $param:ident, )*)) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/command.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | ($s:ident, $c:expr, $count:expr, $output:expr, $size:expr, $args:expr, ($( $vars:ident )*), ($( $param:ident, )*)) => {{ [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] 82 | ($s:ident, $c:expr, $count:expr_2021, $output:expr, $size:expr, $args:expr, ($( $vars:ident )*), ($( $param:ident, )*)) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/command.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | ($s:ident, $c:expr, $count:expr, $output:expr, $size:expr, $args:expr, ($( $vars:ident )*), ($( $param:ident, )*)) => {{ [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] 82 | ($s:ident, $c:expr, $count:expr, $output:expr_2021, $size:expr, $args:expr, ($( $vars:ident )*), ($( $param:ident, )*)) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/command.rs:82:58 [INFO] [stdout] | [INFO] [stdout] 82 | ($s:ident, $c:expr, $count:expr, $output:expr, $size:expr, $args:expr, ($( $vars:ident )*), ($( $param:ident, )*)) => {{ [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] 82 | ($s:ident, $c:expr, $count:expr, $output:expr, $size:expr_2021, $args:expr, ($( $vars:ident )*), ($( $param:ident, )*)) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/command.rs:82:70 [INFO] [stdout] | [INFO] [stdout] 82 | ($s:ident, $c:expr, $count:expr, $output:expr, $size:expr, $args:expr, ($( $vars:ident )*), ($( $param:ident, )*)) => {{ [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] 82 | ($s:ident, $c:expr, $count:expr, $output:expr, $size:expr, $args:expr_2021, ($( $vars:ident )*), ($( $param:ident, )*)) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/command.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | macro_rules! factory_tuple ({ $c: expr, $($param:ident)* } => { [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] 128 | macro_rules! factory_tuple ({ $c: expr_2021, $($param:ident)* } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_cstr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | if crate::write_cstr( [INFO] [stdout] | ________^ [INFO] [stdout] 286 | | { [INFO] [stdout] 287 | | let value = match ret { [INFO] [stdout] 288 | | Ok(x) | Err(x) => x, [INFO] [stdout] ... | [INFO] [stdout] 296 | | size, [INFO] [stdout] 297 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for 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/command.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | / unsafe fn handle_output_and_return( [INFO] [stdout] 276 | | ret: R, [INFO] [stdout] 277 | | output: *mut libc::c_char, [INFO] [stdout] 278 | | size: libc::size_t, [INFO] [stdout] 279 | | ) -> libc::c_int [INFO] [stdout] 280 | | where [INFO] [stdout] 281 | | R: IntoExtResult + 'static, [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 `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 308 | factory_tuple! { 0, } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 309 | factory_tuple! { 1, A } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 310 | factory_tuple! { 2, A B } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 311 | factory_tuple! { 3, A B C } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 312 | factory_tuple! { 4, A B C D } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 313 | factory_tuple! { 5, A B C D E } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 314 | factory_tuple! { 6, A B C D E F } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 315 | factory_tuple! { 7, A B C D E F G } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 316 | factory_tuple! { 8, A B C D E F G H } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 317 | factory_tuple! { 9, A B C D E F G H I } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 318 | factory_tuple! { 10, A B C D E F G H I J } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 319 | factory_tuple! { 11, A B C D E F G H I J K } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 320 | factory_tuple! { 12, A B C D E F G H I J K L } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 321 | factory_tuple! { 13, A B C D E F G H I J K L M } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 322 | factory_tuple! { 14, A B C D E F G H I J K L M N } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 323 | factory_tuple! { 15, A B C D E F G H I J K L M N O } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 324 | factory_tuple! { 16, A B C D E F G H I J K L M N O P } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe fn call(&self, _: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(true).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn call(&self, context: Context, acm: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 325 | factory_tuple! { 17, A B C D E F G H I J K L M N O P Q } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::Factory::call` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | self.call(context, acm, output, size, args, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / unsafe fn call( [INFO] [stdout] 135 | | &self, [INFO] [stdout] 136 | | context: Context, [INFO] [stdout] 137 | | acm: &ArmaContextManager, [INFO] [stdout] ... | [INFO] [stdout] 141 | | count: Option, [INFO] [stdout] 142 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / handle_output_and_return( [INFO] [stdout] 162 | | (self)($($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 163 | | output, [INFO] [stdout] 164 | | size [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe fn call(&self, _: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | let argv: &[*mut libc::c_char; $c] = &*(args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / handle_output_and_return( [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | (self)($( [INFO] [stdout] 186 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 195 | | size [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [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 `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | / handle_output_and_return( [INFO] [stdout] 89 | | ($s)($( $vars, )* $($param::from_arma("".to_string()).unwrap(),)*), [INFO] [stdout] 90 | | $output, [INFO] [stdout] 91 | | $size [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [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: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/command.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn call(&self, context: Context, _: &ArmaContextManager, output: *mut libc::c_char, size: libc::size_t, args: Option<*mut *mut i8>, count: Option) -> libc::c_in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | let argv: &[*mut libc::c_char; $c] = &*($args.unwrap() as *const [*mut i8; $c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers 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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | std::ffi::CStr::from_ptr(s).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `command::handle_output_and_return` is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / handle_output_and_return( [INFO] [stdout] 111 | | { [INFO] [stdout] 112 | | ($s)($( $vars, )* $( [INFO] [stdout] 113 | | if let Ok(val) = $param::from_arma(argv.pop().unwrap()) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | $size [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [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 `execute` which comes from the expansion of the macro `factory_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/command.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | crate::RVExtensionFeatureFlags = FeatureFlags::default().with_context_stack_trace(false).as_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 326 | factory_tuple! { 18, A B C D E F G H I J K L M N O P Q R } [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [WARN] too many lines in the log, truncating it