[INFO] fetching crate picky-asn1-x509 0.12.0... [INFO] checking picky-asn1-x509-0.12.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate picky-asn1-x509 0.12.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate picky-asn1-x509 0.12.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate picky-asn1-x509 0.12.0 [INFO] finished tweaking crates.io crate picky-asn1-x509 0.12.0 [INFO] tweaked toml for crates.io crate picky-asn1-x509 0.12.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded expect-test v1.4.1 [INFO] [stderr] Downloaded oid v0.2.1 [INFO] [stderr] Downloaded dissimilar v1.0.7 [INFO] [stderr] Downloaded picky-asn1-der v0.4.1 [INFO] [stderr] Downloaded picky-asn1 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dae77224f9d28413693f227de34eb61d0f49e34847a310bcc91b495c8e26e3af [INFO] running `Command { std: "docker" "start" "-a" "dae77224f9d28413693f227de34eb61d0f49e34847a310bcc91b495c8e26e3af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dae77224f9d28413693f227de34eb61d0f49e34847a310bcc91b495c8e26e3af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dae77224f9d28413693f227de34eb61d0f49e34847a310bcc91b495c8e26e3af", kill_on_drop: false }` [INFO] [stdout] dae77224f9d28413693f227de34eb61d0f49e34847a310bcc91b495c8e26e3af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c53ad06c8b7a54678400c76a1a4e491533fe4cbdba635c91ea9b4a34bda2161 [INFO] running `Command { std: "docker" "start" "-a" "4c53ad06c8b7a54678400c76a1a4e491533fe4cbdba635c91ea9b4a34bda2161", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking expect-test v1.4.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking oid v0.2.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking picky-asn1 v0.8.0 [INFO] [stderr] Checking picky-asn1-der v0.4.1 [INFO] [stderr] Checking picky-asn1-x509 v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../../test_assets/missing_authority_key_identifier_field.crt: No such file or directory (os error 2) [INFO] [stdout] --> src/certificate.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 306 | let encoded = include_bytes!("../../test_assets/missing_authority_key_identifier_field.crt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Extension` is imported redundantly [INFO] [stdout] --> src/certificate.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 162 | use super::*; [INFO] [stdout] | -------- the item `Extension` is already imported here [INFO] [stdout] 163 | use crate::{DirectoryName, Extension, KeyIdentifier, KeyUsage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DirectoryName` is imported redundantly [INFO] [stdout] --> src/certification_request.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 115 | use crate::name::*; [INFO] [stdout] | -------------- the item `DirectoryName` is already imported here [INFO] [stdout] 116 | use crate::{DirectoryName, Extension, GeneralName}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GeneralName` is imported redundantly [INFO] [stdout] --> src/certification_request.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 115 | use crate::name::*; [INFO] [stdout] | -------------- the item `GeneralName` is already imported here [INFO] [stdout] 116 | use crate::{DirectoryName, Extension, GeneralName}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GeneralName` is imported redundantly [INFO] [stdout] --> src/extension.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 565 | use super::*; [INFO] [stdout] | -------- the item `GeneralName` is already imported here [INFO] [stdout] 566 | use crate::GeneralName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitString` is imported redundantly [INFO] [stdout] --> src/private_key_info.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 578 | use super::*; [INFO] [stdout] | -------- the item `BitString` is already imported here [INFO] [stdout] 579 | use base64::{engine::general_purpose, Engine as _}; [INFO] [stdout] 580 | use picky_asn1::bit_string::BitString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 171 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 176 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `picky-asn1-x509` (lib test) due to 2 previous errors; 176 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4c53ad06c8b7a54678400c76a1a4e491533fe4cbdba635c91ea9b4a34bda2161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c53ad06c8b7a54678400c76a1a4e491533fe4cbdba635c91ea9b4a34bda2161", kill_on_drop: false }` [INFO] [stdout] 4c53ad06c8b7a54678400c76a1a4e491533fe4cbdba635c91ea9b4a34bda2161 [INFO] checking picky-asn1-x509-0.12.0 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate picky-asn1-x509 0.12.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate picky-asn1-x509 0.12.0 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate picky-asn1-x509 0.12.0 [INFO] finished tweaking crates.io crate picky-asn1-x509 0.12.0 [INFO] tweaked toml for crates.io crate picky-asn1-x509 0.12.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 645b0aca269bd6bf77f692f4c16bbc1a77e011cd4f93e10deb117be2a82ec1ec [INFO] running `Command { std: "docker" "start" "-a" "645b0aca269bd6bf77f692f4c16bbc1a77e011cd4f93e10deb117be2a82ec1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "645b0aca269bd6bf77f692f4c16bbc1a77e011cd4f93e10deb117be2a82ec1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "645b0aca269bd6bf77f692f4c16bbc1a77e011cd4f93e10deb117be2a82ec1ec", kill_on_drop: false }` [INFO] [stdout] 645b0aca269bd6bf77f692f4c16bbc1a77e011cd4f93e10deb117be2a82ec1ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ae98c1770d336fc33573da1a108c3678a19764bec5e3c791f13b0598ae83b0e [INFO] running `Command { std: "docker" "start" "-a" "5ae98c1770d336fc33573da1a108c3678a19764bec5e3c791f13b0598ae83b0e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking expect-test v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking oid v0.2.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking picky-asn1 v0.8.0 [INFO] [stderr] Checking picky-asn1-der v0.4.1 [INFO] [stderr] Checking picky-asn1-x509 v0.12.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] error: couldn't read src/../../test_assets/missing_authority_key_identifier_field.crt: No such file or directory (os error 2) [INFO] [stdout] --> src/certificate.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 306 | let encoded = include_bytes!("../../test_assets/missing_authority_key_identifier_field.crt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Extension` is imported redundantly [INFO] [stdout] --> src/certificate.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 162 | use super::*; [INFO] [stdout] | -------- the item `Extension` is already imported here [INFO] [stdout] 163 | use crate::{DirectoryName, Extension, KeyIdentifier, KeyUsage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DirectoryName` is imported redundantly [INFO] [stdout] --> src/certification_request.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 115 | use crate::name::*; [INFO] [stdout] | -------------- the item `DirectoryName` is already imported here [INFO] [stdout] 116 | use crate::{DirectoryName, Extension, GeneralName}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GeneralName` is imported redundantly [INFO] [stdout] --> src/certification_request.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 115 | use crate::name::*; [INFO] [stdout] | -------------- the item `GeneralName` is already imported here [INFO] [stdout] 116 | use crate::{DirectoryName, Extension, GeneralName}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GeneralName` is imported redundantly [INFO] [stdout] --> src/extension.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 565 | use super::*; [INFO] [stdout] | -------- the item `GeneralName` is already imported here [INFO] [stdout] 566 | use crate::GeneralName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitString` is imported redundantly [INFO] [stdout] --> src/private_key_info.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 578 | use super::*; [INFO] [stdout] | -------- the item `BitString` is already imported here [INFO] [stdout] 579 | use base64::{engine::general_purpose, Engine as _}; [INFO] [stdout] 580 | use picky_asn1::bit_string::BitString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [WARN] too many lines in the log, truncating it