[INFO] fetching crate open62541 0.6.1... [INFO] checking open62541-0.6.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate open62541 0.6.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate open62541 0.6.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate open62541 0.6.1 [INFO] finished tweaking crates.io crate open62541 0.6.1 [INFO] tweaked toml for crates.io crate open62541 0.6.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate open62541 0.6.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcc0f385d768f0e026d70cbfaea9d4b3928ccd7aa11a984ebe183f79680eeca9 [INFO] running `Command { std: "docker" "start" "-a" "dcc0f385d768f0e026d70cbfaea9d4b3928ccd7aa11a984ebe183f79680eeca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcc0f385d768f0e026d70cbfaea9d4b3928ccd7aa11a984ebe183f79680eeca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc0f385d768f0e026d70cbfaea9d4b3928ccd7aa11a984ebe183f79680eeca9", kill_on_drop: false }` [INFO] [stdout] dcc0f385d768f0e026d70cbfaea9d4b3928ccd7aa11a984ebe183f79680eeca9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02cdedc33e095c0044f320e10fb1256281819a7c8f3085519498863f7847d159 [INFO] running `Command { std: "docker" "start" "-a" "02cdedc33e095c0044f320e10fb1256281819a7c8f3085519498863f7847d159", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling yansi-term v0.1.2 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling annotate-snippets v0.9.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling open62541-sys v0.4.2 [INFO] [stderr] Checking open62541 v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ua/client.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn disconnect(mut self) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let status_code = ua::StatusCode::new(unsafe { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ua/client.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn disconnect(mut self) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let status_code = ua::StatusCode::new(unsafe { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ua/server.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 63 | let status_code = ua::StatusCode::new(unsafe { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_monitored_item.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 251 | let status_code = ua::StatusCode::new({ [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_monitored_item.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 244 | let status_code = ua::StatusCode::new(response.responseHeader.serviceResult); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | [INFO] [stdout] 246 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_subscription.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 154 | let status_code = ua::StatusCode::new({ [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_subscription.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 147 | let status_code = ua::StatusCode::new(response.responseHeader.serviceResult); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | [INFO] [stdout] 149 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ua/server.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 63 | let status_code = ua::StatusCode::new(unsafe { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_monitored_item.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 251 | let status_code = ua::StatusCode::new({ [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_monitored_item.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 244 | let status_code = ua::StatusCode::new(response.responseHeader.serviceResult); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | [INFO] [stdout] 246 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_subscription.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 154 | let status_code = ua::StatusCode::new({ [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_subscription.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 147 | let status_code = ua::StatusCode::new(response.responseHeader.serviceResult); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | [INFO] [stdout] 149 | if let Err(error) = Error::verify_good(&status_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/browse_result_mask.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | crate::data_type!(BrowseResultMask); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `-W static-mut-refs` implied by `-W rust-2024-compatibility` [INFO] [stdout] = help: to override `-W rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/anonymous_identity_token.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(AnonymousIdentityToken); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/application_description.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(ApplicationDescription); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/application_type.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(ApplicationType, UInt32); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/argument.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(Argument); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/attribute_id.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(AttributeId, UInt32); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_description.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | crate::data_type!(BrowseDescription); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_direction.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(BrowseDirection); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_next_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowseNextRequest); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_next_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowseNextResponse); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_path.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowsePath); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_path_result.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowsePathResult); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_path_target.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowsePathTarget); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowseRequest); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowseResponse); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_result.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowseResult); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/byte_string.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | crate::data_type!(ByteString); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/call_method_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CallMethodRequest); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/call_method_result.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CallMethodResult); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/call_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CallRequest); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/call_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CallResponse); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/create_monitored_items_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CreateMonitoredItemsRequest); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/create_monitored_items_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CreateMonitoredItemsResponse); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/create_subscription_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CreateSubscriptionRequest); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/create_subscription_respones.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CreateSubscriptionResponse); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/data_value.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(DataValue); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/date_time.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(DateTime); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/delete_monitored_items_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(DeleteMonitoredItemsRequest); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/delete_monitored_items_response.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(DeleteMonitoredItemsResponse); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/delete_subscriptions_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(DeleteSubscriptionsRequest); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/delete_subscriptions_response.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(DeleteSubscriptionsResponse); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/expanded_node_id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | crate::data_type!(ExpandedNodeId); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/extension_object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | crate::data_type!(ExtensionObject); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/localized_text.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(LocalizedText); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/monitored_item_create_request.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | crate::data_type!(MonitoredItemCreateRequest); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/monitored_item_create_result.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(MonitoredItemCreateResult); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | crate::data_type!(NodeAttributes); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_class.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(NodeClass); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_id.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | crate::data_type!(NodeId); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_id_type.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(NodeIdType, UInt32); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/qualified_name.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | crate::data_type!(QualifiedName); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/read_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(ReadRequest); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/read_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(ReadResponse); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/read_value_id.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(ReadValueId); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/reference_description.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(ReferenceDescription); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/relative_path.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(RelativePath); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/relative_path_element.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(RelativePathElement); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/status_code.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | crate::data_type!(StatusCode); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | crate::data_type!(String); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/browse_result_mask.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | crate::data_type!(BrowseResultMask); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `-W static-mut-refs` implied by `-W rust-2024-compatibility` [INFO] [stdout] = help: to override `-W rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/timestamps_to_return.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(TimestampsToReturn); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/user_name_identity_token.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(UserNameIdentityToken); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/variant.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | crate::data_type!(Variant); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/write_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(WriteRequest); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/write_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(WriteResponse); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/write_value.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(WriteValue); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / primitive!( [INFO] [stdout] 152 | | (Boolean, bool), // Data type ns=0;i=1 [INFO] [stdout] 153 | | (SByte, i8), // Data type ns=0;i=2 [INFO] [stdout] 154 | | (Byte, u8), // Data type ns=0;i=3 [INFO] [stdout] ... | [INFO] [stdout] 162 | | (Double, f64), // Data type ns=0;i=11 [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/anonymous_identity_token.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(AnonymousIdentityToken); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/application_description.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(ApplicationDescription); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/application_type.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(ApplicationType, UInt32); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/argument.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(Argument); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/attribute_id.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(AttributeId, UInt32); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_description.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | crate::data_type!(BrowseDescription); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_direction.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(BrowseDirection); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_next_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowseNextRequest); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_next_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowseNextResponse); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_path.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowsePath); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_path_result.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowsePathResult); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_path_target.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowsePathTarget); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowseRequest); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowseResponse); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/browse_result.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(BrowseResult); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/byte_string.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | crate::data_type!(ByteString); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/call_method_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CallMethodRequest); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/call_method_result.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CallMethodResult); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/call_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CallRequest); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/call_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CallResponse); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/create_monitored_items_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CreateMonitoredItemsRequest); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/create_monitored_items_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CreateMonitoredItemsResponse); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/create_subscription_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CreateSubscriptionRequest); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/create_subscription_respones.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(CreateSubscriptionResponse); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/data_value.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(DataValue); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/date_time.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(DateTime); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/delete_monitored_items_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(DeleteMonitoredItemsRequest); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/delete_monitored_items_response.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(DeleteMonitoredItemsResponse); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/delete_subscriptions_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(DeleteSubscriptionsRequest); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/delete_subscriptions_response.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(DeleteSubscriptionsResponse); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/expanded_node_id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | crate::data_type!(ExpandedNodeId); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/extension_object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | crate::data_type!(ExtensionObject); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/localized_text.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(LocalizedText); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/monitored_item_create_request.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | crate::data_type!(MonitoredItemCreateRequest); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/monitored_item_create_result.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(MonitoredItemCreateResult); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | crate::data_type!(NodeAttributes); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_attributes.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / derived!( [INFO] [stdout] 59 | | Object, [INFO] [stdout] 60 | | Variable, [INFO] [stdout] 61 | | Method, [INFO] [stdout] ... | [INFO] [stdout] 67 | | // Generic, // Omitted for now because the `Default` impl above cannot be used here. [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `derived` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_class.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(NodeClass); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_id.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | crate::data_type!(NodeId); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/node_id_type.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(NodeIdType, UInt32); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/qualified_name.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | crate::data_type!(QualifiedName); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/read_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(ReadRequest); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/read_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(ReadResponse); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/read_value_id.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(ReadValueId); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/reference_description.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(ReferenceDescription); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/relative_path.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(RelativePath); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/relative_path_element.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(RelativePathElement); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/status_code.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | crate::data_type!(StatusCode); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | crate::data_type!(String); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/timestamps_to_return.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | crate::data_type!(TimestampsToReturn); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/user_name_identity_token.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(UserNameIdentityToken); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/variant.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | crate::data_type!(Variant); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/write_request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(WriteRequest); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/write_response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(WriteResponse); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/data_type.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe { open62541_sys::UA_TYPES.get(index) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/ua/data_types/write_value.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | crate::data_type!(WriteValue); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::data_type` which comes from the expansion of the macro `crate::data_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `open62541` (lib) due to 7 previous errors; 74 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `open62541` (lib test) due to 7 previous errors; 74 warnings emitted [INFO] running `Command { std: "docker" "inspect" "02cdedc33e095c0044f320e10fb1256281819a7c8f3085519498863f7847d159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02cdedc33e095c0044f320e10fb1256281819a7c8f3085519498863f7847d159", kill_on_drop: false }` [INFO] [stdout] 02cdedc33e095c0044f320e10fb1256281819a7c8f3085519498863f7847d159