[INFO] fetching crate picky-asn1-x509 0.12.0... [INFO] checking picky-asn1-x509-0.12.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate picky-asn1-x509 0.12.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate picky-asn1-x509 0.12.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.0) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded expect-test v1.4.1 [INFO] [stderr] Downloaded picky-asn1-der v0.4.1 [INFO] [stderr] Downloaded dissimilar v1.0.7 [INFO] [stderr] Downloaded oid v0.2.1 [INFO] [stderr] Downloaded num-bigint-dig v0.8.4 [INFO] [stderr] Downloaded picky-asn1 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69b93d90890b7c663870b160a8fab43da9c55f749740612bcff21c5bf080796a [INFO] running `Command { std: "docker" "start" "-a" "69b93d90890b7c663870b160a8fab43da9c55f749740612bcff21c5bf080796a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69b93d90890b7c663870b160a8fab43da9c55f749740612bcff21c5bf080796a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b93d90890b7c663870b160a8fab43da9c55f749740612bcff21c5bf080796a", kill_on_drop: false }` [INFO] [stdout] 69b93d90890b7c663870b160a8fab43da9c55f749740612bcff21c5bf080796a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c40a81281b376e6958c0fbc5f6b6d082eb76fa20e84981f97cc47100c5ecb38e [INFO] running `Command { std: "docker" "start" "-a" "c40a81281b376e6958c0fbc5f6b6d082eb76fa20e84981f97cc47100c5ecb38e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling num-traits v0.2.18 [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 getrandom v0.2.12 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking expect-test v1.4.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.44 [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: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the 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: 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" "c40a81281b376e6958c0fbc5f6b6d082eb76fa20e84981f97cc47100c5ecb38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c40a81281b376e6958c0fbc5f6b6d082eb76fa20e84981f97cc47100c5ecb38e", kill_on_drop: false }` [INFO] [stdout] c40a81281b376e6958c0fbc5f6b6d082eb76fa20e84981f97cc47100c5ecb38e [INFO] checking picky-asn1-x509-0.12.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate picky-asn1-x509 0.12.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate picky-asn1-x509 0.12.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f15e8369bd4f79e6a0680ba6bca5ef460c5ee718e8f2a609618f2a1450085b9 [INFO] running `Command { std: "docker" "start" "-a" "6f15e8369bd4f79e6a0680ba6bca5ef460c5ee718e8f2a609618f2a1450085b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f15e8369bd4f79e6a0680ba6bca5ef460c5ee718e8f2a609618f2a1450085b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f15e8369bd4f79e6a0680ba6bca5ef460c5ee718e8f2a609618f2a1450085b9", kill_on_drop: false }` [INFO] [stdout] 6f15e8369bd4f79e6a0680ba6bca5ef460c5ee718e8f2a609618f2a1450085b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 917333f2479926667a7a8326122686d4157a3634f8f2c6afe778d8df32a4fbdd [INFO] running `Command { std: "docker" "start" "-a" "917333f2479926667a7a8326122686d4157a3634f8f2c6afe778d8df32a4fbdd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking expect-test v1.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking hex v0.4.3 [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] 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] [stderr] Fixed src/oids.rs (1 fix) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the 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! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/oids.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = &OID { oid.clone() } else { unreachable() } [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 42 | / define_oid! { [INFO] [stdout] 43 | | // x9-57 [INFO] [stdout] 44 | | DSA_WITH_SHA1 => dsa_with_sha1 => "1.2.840.10040.4.3", [INFO] [stdout] 45 | | // x9-42 [INFO] [stdout] ... | [INFO] [stdout] 268 | | USER_PRINCIPAL_NAME => user_principal_name => "1.3.6.1.4.1.311.20.2.3", [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `define_oid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(oid) = addr_of!(OID) { oid.clone() } else { unreachable() } [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [WARN] too many lines in the log, truncating it