[INFO] fetching crate vinezombie 0.3.1... [INFO] checking vinezombie-0.3.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate vinezombie 0.3.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate vinezombie 0.3.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vinezombie 0.3.1 [INFO] finished tweaking crates.io crate vinezombie 0.3.1 [INFO] tweaked toml for crates.io crate vinezombie 0.3.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate vinezombie 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 743188bac65b238424c341a0f5b1703f64abead51b25e5d21fccda3568603f76 [INFO] running `Command { std: "docker" "start" "-a" "743188bac65b238424c341a0f5b1703f64abead51b25e5d21fccda3568603f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "743188bac65b238424c341a0f5b1703f64abead51b25e5d21fccda3568603f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "743188bac65b238424c341a0f5b1703f64abead51b25e5d21fccda3568603f76", kill_on_drop: false }` [INFO] [stdout] 743188bac65b238424c341a0f5b1703f64abead51b25e5d21fccda3568603f76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6eae8c35edf1efda2d220f4fbd0c613bfd4be3136de2452bd30c6a654fec5635 [INFO] running `Command { std: "docker" "start" "-a" "6eae8c35edf1efda2d220f4fbd0c613bfd4be3136de2452bd30c6a654fec5635", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (6 fixes) [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.5 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking vinezombie v0.3.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `vinezombie` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/client/nick.rs [INFO] [stderr] * src/ircmsg/codec.rs [INFO] [stderr] * src/ircmsg/tests.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/names/cmd.rs [INFO] [stderr] * src/names/isupport.rs [INFO] [stderr] * src/string/subtypes/macros.rs [INFO] [stderr] * src/string/tests.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] warning: `gen` is a keyword in the 2024 edition [INFO] [stderr] --> src/client/nick.rs:153:36 [INFO] [stderr] | [INFO] [stderr] 153 | match self.a.take() { Some(gen) => { [INFO] [stderr] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stderr] = note: for more information, see issue #49716 [INFO] [stderr] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ircmsg/codec.rs:8:65 [INFO] [stderr] | [INFO] [stderr] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr_2021, $parse_expr:expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ircmsg/codec.rs:8:87 [INFO] [stderr] | [INFO] [stderr] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr_2021, $parse_expr:expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ircmsg/codec.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | (|$buf:ident| $parse_expr:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ircmsg/tests.rs:5:6 [INFO] [stderr] | [INFO] [stderr] 5 | ($lit:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/names/cmd.rs:200:38 [INFO] [stderr] | [INFO] [stderr] 200 | ($name:ident: $target_pat:pat => $target_val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/names/isupport.rs:15:43 [INFO] [stderr] | [INFO] [stderr] 15 | ($key:ident: $value:ty = |$arg:ident| $parse:expr_2021 $(, $doc:literal)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/subtypes/macros.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | ($bytes:ident, $f:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/subtypes/macros.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | $bcheck:expr_2021; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/subtypes/macros.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | $ocheck:expr_2021; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/subtypes/macros.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | $bcheck:expr_2021; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/subtypes/macros.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | $ocheck:expr_2021; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/tests.rs:4:6 [INFO] [stderr] | [INFO] [stderr] 4 | ($word:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/tests.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | ($word:expr_2021, $expected:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/tests.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | ($word:expr_2021, $expected:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `doc_unstable` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub gen: std::sync::Arc, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | #![cfg_attr(doc_unstable, feature(doc_auto_cfg))] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(gen) = self.a.take() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | let (nick, next) = gen.next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let gen = Suffix { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let (mut nick, mut gen) = gen.transform(prefix).next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | let (mut nick, mut gen) = gen.transform(prefix).next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | (nick, gen) = gen.unwrap().next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | (nick, gen) = gen.unwrap().next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let gen = Suffix { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let (mut nick, mut gen) = gen.transform(prefix).next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | let (mut nick, mut gen) = gen.transform(prefix).next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | (nick, gen) = gen.unwrap().next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | (nick, gen) = gen.unwrap().next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | (nick, gen) = gen.unwrap().next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | (nick, gen) = gen.unwrap().next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | (nick, gen) = gen.unwrap().next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | (nick, gen) = gen.unwrap().next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | (nick, gen) = gen.unwrap().next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | (nick, gen) = gen.unwrap().next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick/tests.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | (nick, _) = gen.unwrap().next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_unstable` [INFO] [stdout] --> src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | #![cfg_attr(doc_unstable, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ircmsg/codec.rs:8:76 [INFO] [stdout] | [INFO] [stdout] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr, $parse_expr:expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr_2021, $parse_expr:expr [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ircmsg/codec.rs:8:94 [INFO] [stdout] | [INFO] [stdout] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr, $parse_expr:expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr, $parse_expr:expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ircmsg/codec.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | (|$buf:ident| $parse_expr:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 27 | (|$buf:ident| $parse_expr:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ircmsg/tests.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | ($lit:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 5 | ($lit:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/names/cmd.rs:200:50 [INFO] [stdout] | [INFO] [stdout] 200 | ($name:ident: $target_pat:pat => $target_val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 200 | ($name:ident: $target_pat:pat => $target_val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/names/isupport.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | ($key:ident: $value:ty = |$arg:ident| $parse:expr $(, $doc:literal)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 15 | ($key:ident: $value:ty = |$arg:ident| $parse:expr_2021 $(, $doc:literal)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/subtypes/macros.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | ($bytes:ident, $f:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2 | ($bytes:ident, $f:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/subtypes/macros.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | $bcheck:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 22 | $bcheck:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/subtypes/macros.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | $ocheck:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | $ocheck:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/subtypes/macros.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | $bcheck:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 59 | $bcheck:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/subtypes/macros.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | $ocheck:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 60 | $ocheck:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/tests.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | ($word:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 4 | ($word:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/tests.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | ($word:expr, $expected:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 8 | ($word:expr_2021, $expected:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/tests.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | ($word:expr, $expected:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 8 | ($word:expr, $expected:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/ircmsg/numeric.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | Numeric(std::mem::transmute(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ircmsg/numeric.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub const unsafe fn from_bytes_unchecked(bytes: [u8; 3]) -> Numeric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/ircmsg/numeric.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | Numeric(std::mem::transmute([h, t, o])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ircmsg/numeric.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub const unsafe fn from_int_unchecked(int: u16) -> Numeric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::num::NonZero::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/state/mode.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | Mode(NonZeroU8::new_unchecked(letter)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/state/mode.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub const unsafe fn new_unchecked(letter: u8) -> Mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::num::NonZero::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/state/mode.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | Mode(NonZeroU8::new_unchecked(basis + (25 - (index >> 1) as u8))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/state/mode.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub(self) unsafe fn new_from_index(index: u32) -> Mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `util::ownedslice::OwnedSlice::::into_vec_with_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/bytes.rs:506:37 [INFO] [stdout] | [INFO] [stdout] 506 | let (retval, destroy) = os.into_vec_with_slice(slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/bytes.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | pub unsafe fn into_vec(self, slice: &[u8], secret: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::BytesNewtype::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/splitter.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | self.range.constrain(self.string.as_bytes_unsafe()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/splitter.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe fn as_slice_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | self.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | self.using_value(bytes, if utf8 { Utf8Policy::Valid } else { Utf8Policy::Recheck }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::NoNul::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::NoNul::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Line::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Line::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Word::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Word::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Arg::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Arg::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Key::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Key::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Nick::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Nick::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::User::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::User::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Cmd::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Cmd::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | ptr.cast::().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe fn make_ref(ptr: NonNull, _: &Self::Metadata) -> Self::Ref<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ptr.cast::().as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | unsafe fn make_ref_mut(ptr: NonNull, _: &Self::Metadata) -> Self::RefMut<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | std::ptr::drop_in_place(ptr.cast::().as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn drop_in_place(ptr: NonNull, _: &Self::Metadata) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | std::ptr::drop_in_place(ptr.cast::().as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | std::slice::from_raw_parts(ptr.cast::().as_ptr(), *count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe fn make_ref(ptr: NonNull, count: &Self::Metadata) -> Self::Ref<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | std::slice::from_raw_parts_mut(ptr.cast::().as_ptr(), *count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe fn make_ref_mut(ptr: NonNull, count: &Self::Metadata) -> Self::RefMut<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | std::ptr::drop_in_place(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe fn drop_in_place(ptr: NonNull, count: &Self::Metadata) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | ptr = ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | std::slice::from_raw_parts(self.0.as_ptr().cast_const(), len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/ownedslice.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub unsafe fn as_slice<'a>(&self, len: usize) -> &'a [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Vec::from_raw_parts(ptr, len, cap) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/ownedslice.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub unsafe fn into_vec_with_len(self, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | (Vec::from_raw_parts(data_start, slice.len(), capacity), None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/ownedslice.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe fn into_vec_with_slice(self, slice: &[T]) -> (Vec, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | dest.write((src as *const T).read()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::set_len` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | retval.set_len(slice.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let ptr_meta = ptr.add(offset_meta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/thinarc.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe fn offsets(&self) -> (*mut u8, *mut u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Layout::from_size_align_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | let offset_value = layout.extend(Layout::from_size_align_unchecked(0, T::ALIGN)).unwrap().1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr_value = ptr.add(offset_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `util::dynsized::DynSized::layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | layout = layout.extend(T::layout(self.ref_meta())).unwrap().0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/thinarc.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | std::alloc::dealloc(self.0.as_ptr(), layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make_ref_mut` is never used [INFO] [stdout] --> src/util/dynsized.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait DynSized { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | unsafe fn make_ref_mut(ptr: NonNull, meta: &Self::Metadata) -> Self::RefMut<'_>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | } else if let Some(new_logic) = self.queue.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ } else { match self.queue.pop() { Some(new_logic) => { [INFO] [stdout] 141 | self.logic = new_logic; [INFO] [stdout] 142 | Some(true) [INFO] [stdout] 143 ~ } _ => { [INFO] [stdout] 144 | Some(false) [INFO] [stdout] 145 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | let res = if let Some(first) = msg.args.words().first() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 159 ~ let res = match msg.args.words().first() { Some(first) => { [INFO] [stdout] 160 | self.decoder.add(first.as_bytes()) [INFO] [stdout] 161 ~ } _ => { [INFO] [stdout] 162 | Some(self.decoder.decode()) [INFO] [stdout] 163 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:179:35 [INFO] [stdout] | [INFO] [stdout] 179 | return if let Some(new_logic) = self.queue.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ return match self.queue.pop() { Some(new_logic) => { [INFO] [stdout] 180 | self.logic = new_logic; [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(false) [INFO] [stdout] 184 ~ } _ => { [INFO] [stdout] 185 | Err(HandlerError::Broken(name)) [INFO] [stdout] 186 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(next_logic) = self.queue.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match self.queue.pop() { Some(next_logic) => { [INFO] [stdout] 201 | self.logic = next_logic; [INFO] [stdout] 202 | sink.send(self.auth_msg()); [INFO] [stdout] 203 | Ok(false) [INFO] [stdout] 204 ~ } _ => { [INFO] [stdout] 205 | let reason = msg.args.split_last().1.cloned().unwrap_or_default().owning(); [INFO] [stdout] 206 | Err(HandlerError::Fail(reason)) [INFO] [stdout] 207 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/conn/sync.rs:354:15 [INFO] [stdout] | [INFO] [stdout] 354 | while let Some(popped) = self.queue.pop(|new_timeout| timeout = new_timeout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/conn/sync.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/conn/tokio.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | while let Some(popped) = self.queue.pop(|new_timeout| timeout = new_timeout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/conn/tokio.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/handler.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(idx) = self.handlers.iter().position(|(_, id2)| id == *id2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/handler.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 193 ~ match self.handlers.iter().position(|(_, id2)| id == *id2) { Some(idx) => { [INFO] [stdout] 194 | self.handlers.swap_remove(idx); [INFO] [stdout] 195 | self.finished.push(id); [INFO] [stdout] 196 | self.wants_owning &= !self.handlers.is_empty(); [INFO] [stdout] 197 ~ } _ => { [INFO] [stdout] 198 | panic!("attemped to cancel handler with invalid id") [INFO] [stdout] 199 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/handler.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | while let Some((handler, id)) = self.handlers.get_mut(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/handler.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/handlers.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | if let Ok(parsed) = N::from_union(&raw) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/handlers.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 72 ~ match N::from_union(&raw) { Ok(parsed) => { [INFO] [stdout] 73 | cf_discard(sender.send(parsed)) [INFO] [stdout] 74 ~ } _ => { [INFO] [stdout] 75 | ControlFlow::Continue(()) [INFO] [stdout] 76 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/handlers.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | if let Ok(parsed) = N::from_union(&raw) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/handlers.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 122 ~ match N::from_union(&raw) { Ok(parsed) => { [INFO] [stdout] 123 | cf_discard(sender.send(parsed)) [INFO] [stdout] 124 ~ } _ => { [INFO] [stdout] 125 | ControlFlow::Continue(()) [INFO] [stdout] 126 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/handlers/ping.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(last) = msg.args.split_last().1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/handlers/ping.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 35 ~ match msg.args.split_last().1 { Some(last) => { [INFO] [stdout] 36 | let hash = crate::util::mangle(&self.0); [INFO] [stdout] ... [INFO] [stdout] 50 | } [INFO] [stdout] 51 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/nick.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(mut next) = self.iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/nick.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match self.iter.next() { Some(mut next) => { [INFO] [stdout] 111 | std::mem::swap(&mut next, &mut self.nick); [INFO] [stdout] 112 | (next, Some(self)) [INFO] [stdout] 113 ~ } _ => { [INFO] [stdout] 114 | (self.nick, None) [INFO] [stdout] 115 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/nick.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(gen) = self.a.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/nick.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 153 ~ match self.a.take() { Some(gen) => { [INFO] [stdout] 154 | let (nick, next) = gen.next_nick(); [INFO] [stdout] 155 | self.a = next; [INFO] [stdout] 156 | (nick, Some(self)) [INFO] [stdout] 157 ~ } _ => { [INFO] [stdout] 158 | let (nick, next) = self.b.unwrap().next_nick(); [INFO] [stdout] 159 | (nick, next) [INFO] [stdout] 160 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/queue.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | if let Some(value) = self.queue.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/queue.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 106 ~ match self.queue.pop_front() { Some(value) => { [INFO] [stdout] 107 | let mut delay = self.timepoint.saturating_duration_since(Instant::now()); [INFO] [stdout] ... [INFO] [stdout] 116 | } [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | timeout_fn(None); [INFO] [stdout] 119 | None [INFO] [stdout] 120 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/queue.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(adj) = self.adjuster.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/queue.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 125 ~ match self.adjuster.as_mut() { Some(adj) => { [INFO] [stdout] 126 | if adj.should_adjust(msg) { [INFO] [stdout] 127 | self.queue.retain_mut(|cmsg| adj.update(cmsg)); [INFO] [stdout] 128 | } [INFO] [stdout] 129 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/queue.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(adjuster) = self.adjuster.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/queue.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 198 ~ match self.adjuster.as_mut() { Some(adjuster) => { [INFO] [stdout] 199 | adjuster.reset(); [INFO] [stdout] 200 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/defaults.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | if let Some(nicks) = from_iter(nicks) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/defaults.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match from_iter(nicks) { Some(nicks) => { [INFO] [stdout] 270 | Box::new(nicks).chain_using(&NT_FALLBACK) [INFO] [stdout] 271 ~ } _ => { [INFO] [stdout] 272 | Box::new(Nick::from_str("Guest")).chain_using(&NT_GUEST) [INFO] [stdout] 273 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/defaults.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | if let Some(usernicks) = from_iter(nicks) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/defaults.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 304 ~ match from_iter(nicks) { Some(usernicks) => { [INFO] [stdout] 305 | Box::new(usernicks).chain(vzbnicks) [INFO] [stdout] 306 ~ } _ => { [INFO] [stdout] 307 | vzbnicks [INFO] [stdout] 308 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(version) = self.version { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 68 ~ match self.version { Some(version) => { [INFO] [stdout] 69 | state.insert::(version); [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some((server, port)) = split() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 342 ~ match split() { Some((server, port)) => { [INFO] [stdout] 343 | Err(HandlerError::Redirect( [INFO] [stdout] ... [INFO] [stdout] 347 | )) [INFO] [stdout] 348 ~ } _ => { [INFO] [stdout] 349 | Err(HandlerError::ServerError(Box::new(msg.clone().owning()))) [INFO] [stdout] 350 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 355 | if let ([_, client, port], Some(info)) = msg.args.split_last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 355 ~ match msg.args.split_last() { ([_, client, port], Some(info)) => { [INFO] [stdout] 356 | match port.to_utf8_lossy().parse() { [INFO] [stdout] ... [INFO] [stdout] 365 | } [INFO] [stdout] 366 ~ } _ => { [INFO] [stdout] 367 | Err(HandlerError::ServerError(Box::new(msg.clone().owning()))) [INFO] [stdout] 368 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:430:28 [INFO] [stdout] | [INFO] [stdout] 430 | if let HandlerState::Req(reqs, mut auths) = state { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 430 ~ match state { HandlerState::Req(reqs, mut auths) => { [INFO] [stdout] 431 | use crate::names::cap::{SASL, STS}; [INFO] [stdout] ... [INFO] [stdout] 464 | }; [INFO] [stdout] 465 ~ } _ => { [INFO] [stdout] 466 | self.state = state; [INFO] [stdout] 467 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/tls.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | while let Some(item) = rustls_pemfile::read_one(&mut file)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/tls.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(long) = &self.long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 203 | (self.words.as_ref(), Some(long)) [INFO] [stdout] 204 | } else if let Some((last, rest)) = self.words.split_last() { [INFO] [stdout] | ---------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | } else if let Some((last, rest)) = self.words.split_last() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 202 ~ match &self.long { Some(long) => { [INFO] [stdout] 203 | (self.words.as_ref(), Some(long)) [INFO] [stdout] 204 ~ } _ => { match self.words.split_last() { Some((last, rest)) => { [INFO] [stdout] 205 | (rest, Some(last)) [INFO] [stdout] 206 ~ } _ => { [INFO] [stdout] 207 | (&[], None) [INFO] [stdout] 208 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(long) = &self.long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 225 | } else if let Some((last, rest)) = self.words.split_last() { [INFO] [stdout] | ---------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | } else if let Some((last, rest)) = self.words.split_last() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ match &self.long { Some(long) => { [INFO] [stdout] 221 | for arg in self.words.iter() { [INFO] [stdout] ... [INFO] [stdout] 224 | write!(f, ":{}", long) [INFO] [stdout] 225 ~ } _ => { match self.words.split_last() { Some((last, rest)) => { [INFO] [stdout] 226 | for arg in rest { [INFO] [stdout] ... [INFO] [stdout] 229 | write!(f, "{}", last) [INFO] [stdout] 230 ~ } _ => { [INFO] [stdout] 231 | Ok(()) [INFO] [stdout] 232 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/server.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(if let Some(num) = Numeric::from_bytes(&kind) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/server.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 133 ~ Ok(match Numeric::from_bytes(&kind) { Some(num) => { [INFO] [stdout] 134 | num.into() [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | Cmd::from_word(kind).map_err(ParseError::InvalidKind)?.into() [INFO] [stdout] 137 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(u) = &uh.user { [INFO] [stdout] | ^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 43 ~ match &uh.user { Some(u) => { [INFO] [stdout] 44 | return Some(u); [INFO] [stdout] 45 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(uh) = &self.userhost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 51 ~ match &self.userhost { Some(uh) => { [INFO] [stdout] 52 | Some(&uh.host) [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | None [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(address) = self.userhost.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 59 ~ match self.userhost.as_ref() { Some(address) => { [INFO] [stdout] 60 | self.nick.len() + 1 + address.len() [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | self.nick.len() [INFO] [stdout] 63 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(address) = self.userhost.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 69 ~ match self.userhost.as_ref() { Some(address) => { [INFO] [stdout] 70 | w.write_all(self.nick.as_ref())?; [INFO] [stdout] ... [INFO] [stdout] 76 | w.write_all(address.host.as_ref()) [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | w.write_all(self.nick.as_ref()) [INFO] [stdout] 79 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(user) = self.user.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 172 ~ match self.user.as_ref() { Some(user) => { [INFO] [stdout] 173 | user.len() + 1 + self.host.len() [INFO] [stdout] 174 ~ } _ => { [INFO] [stdout] 175 | self.host.len() [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(address) = self.userhost.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 193 ~ match self.userhost.as_ref() { Some(address) => { [INFO] [stdout] 194 | let host = &address.host; [INFO] [stdout] ... [INFO] [stdout] 199 | } [INFO] [stdout] 200 ~ } _ => { [INFO] [stdout] 201 | write!(f, "{nick}") [INFO] [stdout] 202 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 195 | if let Some(user) = &address.user { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 195 ~ match &address.user { Some(user) => { [INFO] [stdout] 196 | write!(f, "{nick}!{user}@{host}") [INFO] [stdout] 197 ~ } _ => { [INFO] [stdout] 198 | write!(f, "{nick}@{host}") [INFO] [stdout] 199 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | if let Some(user) = self.user.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 209 ~ match self.user.as_ref() { Some(user) => { [INFO] [stdout] 210 | write!(f, "{user}@{host}") [INFO] [stdout] 211 ~ } _ => { [INFO] [stdout] 212 | write!(f, "{host}") [INFO] [stdout] 213 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/base64.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | } else if let Ok(splitter) = &self.splitter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/base64.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ } else { match &self.splitter { Ok(splitter) => { [INFO] [stdout] 90 | // Integer division plus one is intended here. [INFO] [stdout] 91 | // On exactly max bytes, we need to send an extra +. [INFO] [stdout] 92 | splitter.len() / self.max + 1 [INFO] [stdout] 93 ~ } _ => { [INFO] [stdout] 94 | 1 [INFO] [stdout] 95 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | if let Some(owner) = self.ownership { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 279 ~ match self.ownership { Some(owner) => { [INFO] [stdout] 280 | unsafe { owner.into_vec(self.value, self.secret) } [INFO] [stdout] 281 ~ } _ => { [INFO] [stdout] 282 | self.value.to_vec() [INFO] [stdout] 283 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:505:12 [INFO] [stdout] | [INFO] [stdout] 505 | if let Ok(os) = self.0.try_unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 505 ~ match self.0.try_unwrap() { Ok(os) => { [INFO] [stdout] 506 | let (retval, destroy) = os.into_vec_with_slice(slice); [INFO] [stdout] ... [INFO] [stdout] 512 | retval [INFO] [stdout] 513 ~ } _ => { [INFO] [stdout] 514 | slice.to_vec() [INFO] [stdout] 515 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:508:20 [INFO] [stdout] | [INFO] [stdout] 508 | if let Some(mut destroy) = destroy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:510:17 [INFO] [stdout] | [INFO] [stdout] 510 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 508 ~ match destroy { Some(mut destroy) => { [INFO] [stdout] 509 | destroy.reinit_all(); [INFO] [stdout] 510 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/secretbuf.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(b) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/secretbuf.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 148 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `vinezombie` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/client/nick.rs [INFO] [stderr] * src/ircmsg/codec.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/names/cmd.rs [INFO] [stderr] * src/names/isupport.rs [INFO] [stderr] * src/string/subtypes/macros.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] warning: `gen` is a keyword in the 2024 edition [INFO] [stderr] --> src/client/nick.rs:153:36 [INFO] [stderr] | [INFO] [stderr] 153 | match self.a.take() { Some(gen) => { [INFO] [stderr] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stderr] = note: for more information, see issue #49716 [INFO] [stderr] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ircmsg/codec.rs:8:65 [INFO] [stderr] | [INFO] [stderr] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr_2021, $parse_expr:expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ircmsg/codec.rs:8:87 [INFO] [stderr] | [INFO] [stderr] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr_2021, $parse_expr:expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ircmsg/codec.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | (|$buf:ident| $parse_expr:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/names/cmd.rs:200:38 [INFO] [stderr] | [INFO] [stderr] 200 | ($name:ident: $target_pat:pat => $target_val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/names/isupport.rs:15:43 [INFO] [stderr] | [INFO] [stderr] 15 | ($key:ident: $value:ty = |$arg:ident| $parse:expr_2021 $(, $doc:literal)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/subtypes/macros.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | ($bytes:ident, $f:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/subtypes/macros.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | $bcheck:expr_2021; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/subtypes/macros.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | $ocheck:expr_2021; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/subtypes/macros.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | $bcheck:expr_2021; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/string/subtypes/macros.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | $ocheck:expr_2021; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `doc_unstable` [INFO] [stderr] --> src/lib.rs:19:13 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub gen: std::sync::Arc, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(gen) = self.a.take() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 19 | #![cfg_attr(doc_unstable, feature(doc_auto_cfg))] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/nick.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | let (nick, next) = gen.next_nick(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_unstable` [INFO] [stdout] --> src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | #![cfg_attr(doc_unstable, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ircmsg/codec.rs:8:76 [INFO] [stdout] | [INFO] [stdout] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr, $parse_expr:expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr_2021, $parse_expr:expr [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ircmsg/codec.rs:8:94 [INFO] [stdout] | [INFO] [stdout] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr, $parse_expr:expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 8 | $limit:path, $buf:ident, $read:ident: $read_type:ident, $read_expr:expr, $parse_expr:expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ircmsg/codec.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | (|$buf:ident| $parse_expr:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 27 | (|$buf:ident| $parse_expr:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/names/cmd.rs:200:50 [INFO] [stdout] | [INFO] [stdout] 200 | ($name:ident: $target_pat:pat => $target_val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 200 | ($name:ident: $target_pat:pat => $target_val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/names/isupport.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | ($key:ident: $value:ty = |$arg:ident| $parse:expr $(, $doc:literal)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 15 | ($key:ident: $value:ty = |$arg:ident| $parse:expr_2021 $(, $doc:literal)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/subtypes/macros.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | ($bytes:ident, $f:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2 | ($bytes:ident, $f:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/subtypes/macros.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | $bcheck:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 22 | $bcheck:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/subtypes/macros.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | $ocheck:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | $ocheck:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/subtypes/macros.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | $bcheck:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 59 | $bcheck:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/string/subtypes/macros.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | $ocheck:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 60 | $ocheck:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/ircmsg/numeric.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | Numeric(std::mem::transmute(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ircmsg/numeric.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub const unsafe fn from_bytes_unchecked(bytes: [u8; 3]) -> Numeric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/ircmsg/numeric.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | Numeric(std::mem::transmute([h, t, o])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ircmsg/numeric.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub const unsafe fn from_int_unchecked(int: u16) -> Numeric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::num::NonZero::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/state/mode.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | Mode(NonZeroU8::new_unchecked(letter)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/state/mode.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub const unsafe fn new_unchecked(letter: u8) -> Mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::num::NonZero::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/state/mode.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | Mode(NonZeroU8::new_unchecked(basis + (25 - (index >> 1) as u8))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/state/mode.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub(self) unsafe fn new_from_index(index: u32) -> Mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `util::ownedslice::OwnedSlice::::into_vec_with_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/bytes.rs:506:37 [INFO] [stdout] | [INFO] [stdout] 506 | let (retval, destroy) = os.into_vec_with_slice(slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/bytes.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | pub unsafe fn into_vec(self, slice: &[u8], secret: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::BytesNewtype::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/splitter.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | self.range.constrain(self.string.as_bytes_unsafe()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/splitter.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe fn as_slice_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | self.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | self.using_value(bytes, if utf8 { Utf8Policy::Valid } else { Utf8Policy::Recheck }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::NoNul::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::NoNul::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Line::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Line::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Word::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Word::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Arg::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Arg::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Key::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Key::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Nick::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Nick::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::User::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::User::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Cmd::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Cmd::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | ptr.cast::().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe fn make_ref(ptr: NonNull, _: &Self::Metadata) -> Self::Ref<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ptr.cast::().as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | unsafe fn make_ref_mut(ptr: NonNull, _: &Self::Metadata) -> Self::RefMut<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | std::ptr::drop_in_place(ptr.cast::().as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn drop_in_place(ptr: NonNull, _: &Self::Metadata) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | std::ptr::drop_in_place(ptr.cast::().as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | std::slice::from_raw_parts(ptr.cast::().as_ptr(), *count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe fn make_ref(ptr: NonNull, count: &Self::Metadata) -> Self::Ref<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | std::slice::from_raw_parts_mut(ptr.cast::().as_ptr(), *count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe fn make_ref_mut(ptr: NonNull, count: &Self::Metadata) -> Self::RefMut<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | std::ptr::drop_in_place(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe fn drop_in_place(ptr: NonNull, count: &Self::Metadata) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | ptr = ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | std::slice::from_raw_parts(self.0.as_ptr().cast_const(), len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/ownedslice.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub unsafe fn as_slice<'a>(&self, len: usize) -> &'a [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Vec::from_raw_parts(ptr, len, cap) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/ownedslice.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub unsafe fn into_vec_with_len(self, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | (Vec::from_raw_parts(data_start, slice.len(), capacity), None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/ownedslice.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe fn into_vec_with_slice(self, slice: &[T]) -> (Vec, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | dest.write((src as *const T).read()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::set_len` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | retval.set_len(slice.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let ptr_meta = ptr.add(offset_meta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/thinarc.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe fn offsets(&self) -> (*mut u8, *mut u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Layout::from_size_align_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | let offset_value = layout.extend(Layout::from_size_align_unchecked(0, T::ALIGN)).unwrap().1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr_value = ptr.add(offset_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `util::dynsized::DynSized::layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | layout = layout.extend(T::layout(self.ref_meta())).unwrap().0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/thinarc.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | std::alloc::dealloc(self.0.as_ptr(), layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make_ref_mut` is never used [INFO] [stdout] --> src/util/dynsized.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait DynSized { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | unsafe fn make_ref_mut(ptr: NonNull, meta: &Self::Metadata) -> Self::RefMut<'_>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | } else if let Some(new_logic) = self.queue.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ } else { match self.queue.pop() { Some(new_logic) => { [INFO] [stdout] 141 | self.logic = new_logic; [INFO] [stdout] 142 | Some(true) [INFO] [stdout] 143 ~ } _ => { [INFO] [stdout] 144 | Some(false) [INFO] [stdout] 145 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | let res = if let Some(first) = msg.args.words().first() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 159 ~ let res = match msg.args.words().first() { Some(first) => { [INFO] [stdout] 160 | self.decoder.add(first.as_bytes()) [INFO] [stdout] 161 ~ } _ => { [INFO] [stdout] 162 | Some(self.decoder.decode()) [INFO] [stdout] 163 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:179:35 [INFO] [stdout] | [INFO] [stdout] 179 | return if let Some(new_logic) = self.queue.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ return match self.queue.pop() { Some(new_logic) => { [INFO] [stdout] 180 | self.logic = new_logic; [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(false) [INFO] [stdout] 184 ~ } _ => { [INFO] [stdout] 185 | Err(HandlerError::Broken(name)) [INFO] [stdout] 186 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(next_logic) = self.queue.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/auth/handler.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match self.queue.pop() { Some(next_logic) => { [INFO] [stdout] 201 | self.logic = next_logic; [INFO] [stdout] 202 | sink.send(self.auth_msg()); [INFO] [stdout] 203 | Ok(false) [INFO] [stdout] 204 ~ } _ => { [INFO] [stdout] 205 | let reason = msg.args.split_last().1.cloned().unwrap_or_default().owning(); [INFO] [stdout] 206 | Err(HandlerError::Fail(reason)) [INFO] [stdout] 207 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/conn/sync.rs:354:15 [INFO] [stdout] | [INFO] [stdout] 354 | while let Some(popped) = self.queue.pop(|new_timeout| timeout = new_timeout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/conn/sync.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/conn/tokio.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | while let Some(popped) = self.queue.pop(|new_timeout| timeout = new_timeout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/conn/tokio.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/handler.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(idx) = self.handlers.iter().position(|(_, id2)| id == *id2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/handler.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 193 ~ match self.handlers.iter().position(|(_, id2)| id == *id2) { Some(idx) => { [INFO] [stdout] 194 | self.handlers.swap_remove(idx); [INFO] [stdout] 195 | self.finished.push(id); [INFO] [stdout] 196 | self.wants_owning &= !self.handlers.is_empty(); [INFO] [stdout] 197 ~ } _ => { [INFO] [stdout] 198 | panic!("attemped to cancel handler with invalid id") [INFO] [stdout] 199 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/handler.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | while let Some((handler, id)) = self.handlers.get_mut(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/handler.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/handlers.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | if let Ok(parsed) = N::from_union(&raw) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/handlers.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 72 ~ match N::from_union(&raw) { Ok(parsed) => { [INFO] [stdout] 73 | cf_discard(sender.send(parsed)) [INFO] [stdout] 74 ~ } _ => { [INFO] [stdout] 75 | ControlFlow::Continue(()) [INFO] [stdout] 76 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/handlers.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | if let Ok(parsed) = N::from_union(&raw) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/handlers.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 122 ~ match N::from_union(&raw) { Ok(parsed) => { [INFO] [stdout] 123 | cf_discard(sender.send(parsed)) [INFO] [stdout] 124 ~ } _ => { [INFO] [stdout] 125 | ControlFlow::Continue(()) [INFO] [stdout] 126 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/handlers/ping.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(last) = msg.args.split_last().1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/handlers/ping.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 35 ~ match msg.args.split_last().1 { Some(last) => { [INFO] [stdout] 36 | let hash = crate::util::mangle(&self.0); [INFO] [stdout] ... [INFO] [stdout] 50 | } [INFO] [stdout] 51 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/nick.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(mut next) = self.iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/nick.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match self.iter.next() { Some(mut next) => { [INFO] [stdout] 111 | std::mem::swap(&mut next, &mut self.nick); [INFO] [stdout] 112 | (next, Some(self)) [INFO] [stdout] 113 ~ } _ => { [INFO] [stdout] 114 | (self.nick, None) [INFO] [stdout] 115 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/nick.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(gen) = self.a.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/nick.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 153 ~ match self.a.take() { Some(gen) => { [INFO] [stdout] 154 | let (nick, next) = gen.next_nick(); [INFO] [stdout] 155 | self.a = next; [INFO] [stdout] 156 | (nick, Some(self)) [INFO] [stdout] 157 ~ } _ => { [INFO] [stdout] 158 | let (nick, next) = self.b.unwrap().next_nick(); [INFO] [stdout] 159 | (nick, next) [INFO] [stdout] 160 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/queue.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | if let Some(value) = self.queue.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/queue.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 106 ~ match self.queue.pop_front() { Some(value) => { [INFO] [stdout] 107 | let mut delay = self.timepoint.saturating_duration_since(Instant::now()); [INFO] [stdout] ... [INFO] [stdout] 116 | } [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | timeout_fn(None); [INFO] [stdout] 119 | None [INFO] [stdout] 120 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/queue.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(adj) = self.adjuster.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/queue.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 125 ~ match self.adjuster.as_mut() { Some(adj) => { [INFO] [stdout] 126 | if adj.should_adjust(msg) { [INFO] [stdout] 127 | self.queue.retain_mut(|cmsg| adj.update(cmsg)); [INFO] [stdout] 128 | } [INFO] [stdout] 129 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/queue.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(adjuster) = self.adjuster.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/queue.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 198 ~ match self.adjuster.as_mut() { Some(adjuster) => { [INFO] [stdout] 199 | adjuster.reset(); [INFO] [stdout] 200 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/defaults.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | if let Some(nicks) = from_iter(nicks) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/defaults.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match from_iter(nicks) { Some(nicks) => { [INFO] [stdout] 270 | Box::new(nicks).chain_using(&NT_FALLBACK) [INFO] [stdout] 271 ~ } _ => { [INFO] [stdout] 272 | Box::new(Nick::from_str("Guest")).chain_using(&NT_GUEST) [INFO] [stdout] 273 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/defaults.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | if let Some(usernicks) = from_iter(nicks) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/defaults.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 304 ~ match from_iter(nicks) { Some(usernicks) => { [INFO] [stdout] 305 | Box::new(usernicks).chain(vzbnicks) [INFO] [stdout] 306 ~ } _ => { [INFO] [stdout] 307 | vzbnicks [INFO] [stdout] 308 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(version) = self.version { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 68 ~ match self.version { Some(version) => { [INFO] [stdout] 69 | state.insert::(version); [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some((server, port)) = split() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 342 ~ match split() { Some((server, port)) => { [INFO] [stdout] 343 | Err(HandlerError::Redirect( [INFO] [stdout] ... [INFO] [stdout] 347 | )) [INFO] [stdout] 348 ~ } _ => { [INFO] [stdout] 349 | Err(HandlerError::ServerError(Box::new(msg.clone().owning()))) [INFO] [stdout] 350 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 355 | if let ([_, client, port], Some(info)) = msg.args.split_last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 355 ~ match msg.args.split_last() { ([_, client, port], Some(info)) => { [INFO] [stdout] 356 | match port.to_utf8_lossy().parse() { [INFO] [stdout] ... [INFO] [stdout] 365 | } [INFO] [stdout] 366 ~ } _ => { [INFO] [stdout] 367 | Err(HandlerError::ServerError(Box::new(msg.clone().owning()))) [INFO] [stdout] 368 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:430:28 [INFO] [stdout] | [INFO] [stdout] 430 | if let HandlerState::Req(reqs, mut auths) = state { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/register/handler.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 430 ~ match state { HandlerState::Req(reqs, mut auths) => { [INFO] [stdout] 431 | use crate::names::cap::{SASL, STS}; [INFO] [stdout] ... [INFO] [stdout] 464 | }; [INFO] [stdout] 465 ~ } _ => { [INFO] [stdout] 466 | self.state = state; [INFO] [stdout] 467 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/tls.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | while let Some(item) = rustls_pemfile::read_one(&mut file)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/tls.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(long) = &self.long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 203 | (self.words.as_ref(), Some(long)) [INFO] [stdout] 204 | } else if let Some((last, rest)) = self.words.split_last() { [INFO] [stdout] | ---------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | } else if let Some((last, rest)) = self.words.split_last() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 202 ~ match &self.long { Some(long) => { [INFO] [stdout] 203 | (self.words.as_ref(), Some(long)) [INFO] [stdout] 204 ~ } _ => { match self.words.split_last() { Some((last, rest)) => { [INFO] [stdout] 205 | (rest, Some(last)) [INFO] [stdout] 206 ~ } _ => { [INFO] [stdout] 207 | (&[], None) [INFO] [stdout] 208 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(long) = &self.long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 225 | } else if let Some((last, rest)) = self.words.split_last() { [INFO] [stdout] | ---------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | } else if let Some((last, rest)) = self.words.split_last() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/args.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ match &self.long { Some(long) => { [INFO] [stdout] 221 | for arg in self.words.iter() { [INFO] [stdout] ... [INFO] [stdout] 224 | write!(f, ":{}", long) [INFO] [stdout] 225 ~ } _ => { match self.words.split_last() { Some((last, rest)) => { [INFO] [stdout] 226 | for arg in rest { [INFO] [stdout] ... [INFO] [stdout] 229 | write!(f, "{}", last) [INFO] [stdout] 230 ~ } _ => { [INFO] [stdout] 231 | Ok(()) [INFO] [stdout] 232 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/server.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(if let Some(num) = Numeric::from_bytes(&kind) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/server.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 133 ~ Ok(match Numeric::from_bytes(&kind) { Some(num) => { [INFO] [stdout] 134 | num.into() [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | Cmd::from_word(kind).map_err(ParseError::InvalidKind)?.into() [INFO] [stdout] 137 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(u) = &uh.user { [INFO] [stdout] | ^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 43 ~ match &uh.user { Some(u) => { [INFO] [stdout] 44 | return Some(u); [INFO] [stdout] 45 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(uh) = &self.userhost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 51 ~ match &self.userhost { Some(uh) => { [INFO] [stdout] 52 | Some(&uh.host) [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | None [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(address) = self.userhost.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 59 ~ match self.userhost.as_ref() { Some(address) => { [INFO] [stdout] 60 | self.nick.len() + 1 + address.len() [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | self.nick.len() [INFO] [stdout] 63 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(address) = self.userhost.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 69 ~ match self.userhost.as_ref() { Some(address) => { [INFO] [stdout] 70 | w.write_all(self.nick.as_ref())?; [INFO] [stdout] ... [INFO] [stdout] 76 | w.write_all(address.host.as_ref()) [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | w.write_all(self.nick.as_ref()) [INFO] [stdout] 79 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(user) = self.user.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 172 ~ match self.user.as_ref() { Some(user) => { [INFO] [stdout] 173 | user.len() + 1 + self.host.len() [INFO] [stdout] 174 ~ } _ => { [INFO] [stdout] 175 | self.host.len() [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(address) = self.userhost.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 193 ~ match self.userhost.as_ref() { Some(address) => { [INFO] [stdout] 194 | let host = &address.host; [INFO] [stdout] ... [INFO] [stdout] 199 | } [INFO] [stdout] 200 ~ } _ => { [INFO] [stdout] 201 | write!(f, "{nick}") [INFO] [stdout] 202 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 195 | if let Some(user) = &address.user { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 195 ~ match &address.user { Some(user) => { [INFO] [stdout] 196 | write!(f, "{nick}!{user}@{host}") [INFO] [stdout] 197 ~ } _ => { [INFO] [stdout] 198 | write!(f, "{nick}@{host}") [INFO] [stdout] 199 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | if let Some(user) = self.user.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ircmsg/source.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 209 ~ match self.user.as_ref() { Some(user) => { [INFO] [stdout] 210 | write!(f, "{user}@{host}") [INFO] [stdout] 211 ~ } _ => { [INFO] [stdout] 212 | write!(f, "{host}") [INFO] [stdout] 213 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/base64.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | } else if let Ok(splitter) = &self.splitter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/base64.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ } else { match &self.splitter { Ok(splitter) => { [INFO] [stdout] 90 | // Integer division plus one is intended here. [INFO] [stdout] 91 | // On exactly max bytes, we need to send an extra +. [INFO] [stdout] 92 | splitter.len() / self.max + 1 [INFO] [stdout] 93 ~ } _ => { [INFO] [stdout] 94 | 1 [INFO] [stdout] 95 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | if let Some(owner) = self.ownership { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 279 ~ match self.ownership { Some(owner) => { [INFO] [stdout] 280 | unsafe { owner.into_vec(self.value, self.secret) } [INFO] [stdout] 281 ~ } _ => { [INFO] [stdout] 282 | self.value.to_vec() [INFO] [stdout] 283 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:505:12 [INFO] [stdout] | [INFO] [stdout] 505 | if let Ok(os) = self.0.try_unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 505 ~ match self.0.try_unwrap() { Ok(os) => { [INFO] [stdout] 506 | let (retval, destroy) = os.into_vec_with_slice(slice); [INFO] [stdout] ... [INFO] [stdout] 512 | retval [INFO] [stdout] 513 ~ } _ => { [INFO] [stdout] 514 | slice.to_vec() [INFO] [stdout] 515 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:508:20 [INFO] [stdout] | [INFO] [stdout] 508 | if let Some(mut destroy) = destroy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/bytes.rs:510:17 [INFO] [stdout] | [INFO] [stdout] 510 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 508 ~ match destroy { Some(mut destroy) => { [INFO] [stdout] 509 | destroy.reinit_all(); [INFO] [stdout] 510 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/secretbuf.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(b) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/secretbuf.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(e) = Self::find_invalid(bytes.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(e) = check(sup.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/string/subtypes/macros.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 127 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.88s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking vinezombie v0.3.1 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Nicks { [INFO] [stdout] | ----- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub gen: std::sync::Arc, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 25 | pub r#gen: std::sync::Arc, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Nicks { [INFO] [stdout] | ----- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub gen: std::sync::Arc, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 25 | pub r#gen: std::sync::Arc, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(gen) = self.a.take() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(r#gen) = self.a.take() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | let (nick, next) = gen.next_nick(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(gen) = self.a.take() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(r#gen) = self.a.take() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | let (nick, next) = gen.next_nick(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick/tests.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let gen = Suffix { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 7 | let r#gen = Suffix { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick/tests.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let (mut nick, mut gen) = gen.transform(prefix).next_nick(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 11 | let (mut nick, mut r#gen) = gen.transform(prefix).next_nick(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick/tests.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | let (mut nick, mut gen) = gen.transform(prefix).next_nick(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick/tests.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let gen = Suffix { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 27 | let r#gen = Suffix { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick/tests.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let (mut nick, mut gen) = gen.transform(prefix).next_nick(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 37 | let (mut nick, mut r#gen) = gen.transform(prefix).next_nick(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/client/nick/tests.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | let (mut nick, mut gen) = gen.transform(prefix).next_nick(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_unstable` [INFO] [stdout] --> src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | #![cfg_attr(doc_unstable, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_unstable` [INFO] [stdout] --> src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | #![cfg_attr(doc_unstable, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::nick::NickTransformer` [INFO] [stdout] --> src/client/nick/tests.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{client::nick::NickTransformer, string::Nick}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `N` is never used [INFO] [stdout] --> src/client/nick.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Nicks { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `N`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `N` to be a const parameter, use `const N: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `N` is never used [INFO] [stdout] --> src/client/nick.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Nicks { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `N`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `N` to be a const parameter, use `const N: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/nick.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, PartialEq, Eq, Hash, Debug, Default)] [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/nick.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, PartialEq, Eq, Hash, Debug, Default)] [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/ircmsg/numeric.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | Numeric(std::mem::transmute(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ircmsg/numeric.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub const unsafe fn from_bytes_unchecked(bytes: [u8; 3]) -> Numeric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/ircmsg/numeric.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | Numeric(std::mem::transmute([h, t, o])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ircmsg/numeric.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub const unsafe fn from_int_unchecked(int: u16) -> Numeric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/ircmsg/numeric.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | Numeric(std::mem::transmute(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ircmsg/numeric.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub const unsafe fn from_bytes_unchecked(bytes: [u8; 3]) -> Numeric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/ircmsg/numeric.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | Numeric(std::mem::transmute([h, t, o])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ircmsg/numeric.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub const unsafe fn from_int_unchecked(int: u16) -> Numeric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::num::NonZero::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/state/mode.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | Mode(NonZeroU8::new_unchecked(letter)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/state/mode.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub const unsafe fn new_unchecked(letter: u8) -> Mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::num::NonZero::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/state/mode.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | Mode(NonZeroU8::new_unchecked(basis + (25 - (index >> 1) as u8))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/state/mode.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub(self) unsafe fn new_from_index(index: u32) -> Mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `util::ownedslice::OwnedSlice::::into_vec_with_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/bytes.rs:506:37 [INFO] [stdout] | [INFO] [stdout] 506 | let (retval, destroy) = os.into_vec_with_slice(slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/bytes.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | pub unsafe fn into_vec(self, slice: &[u8], secret: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::BytesNewtype::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/splitter.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | self.range.constrain(self.string.as_bytes_unsafe()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/splitter.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe fn as_slice_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | self.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | self.using_value(bytes, if utf8 { Utf8Policy::Valid } else { Utf8Policy::Recheck }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::NoNul::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::NoNul::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Line::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Line::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Word::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Word::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Arg::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Arg::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Key::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Key::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Nick::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Nick::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::User::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::User::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Cmd::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Cmd::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | ptr.cast::().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe fn make_ref(ptr: NonNull, _: &Self::Metadata) -> Self::Ref<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ptr.cast::().as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | unsafe fn make_ref_mut(ptr: NonNull, _: &Self::Metadata) -> Self::RefMut<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | std::ptr::drop_in_place(ptr.cast::().as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn drop_in_place(ptr: NonNull, _: &Self::Metadata) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | std::ptr::drop_in_place(ptr.cast::().as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | std::slice::from_raw_parts(ptr.cast::().as_ptr(), *count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe fn make_ref(ptr: NonNull, count: &Self::Metadata) -> Self::Ref<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | std::slice::from_raw_parts_mut(ptr.cast::().as_ptr(), *count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe fn make_ref_mut(ptr: NonNull, count: &Self::Metadata) -> Self::RefMut<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | std::ptr::drop_in_place(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe fn drop_in_place(ptr: NonNull, count: &Self::Metadata) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | ptr = ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | std::slice::from_raw_parts(self.0.as_ptr().cast_const(), len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/ownedslice.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub unsafe fn as_slice<'a>(&self, len: usize) -> &'a [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Vec::from_raw_parts(ptr, len, cap) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/ownedslice.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub unsafe fn into_vec_with_len(self, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | (Vec::from_raw_parts(data_start, slice.len(), capacity), None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/ownedslice.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe fn into_vec_with_slice(self, slice: &[T]) -> (Vec, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | dest.write((src as *const T).read()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::::set_len` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/ownedslice.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | retval.set_len(slice.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let ptr_meta = ptr.add(offset_meta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/thinarc.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe fn offsets(&self) -> (*mut u8, *mut u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Layout::from_size_align_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | let offset_value = layout.extend(Layout::from_size_align_unchecked(0, T::ALIGN)).unwrap().1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr_value = ptr.add(offset_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `util::dynsized::DynSized::layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | layout = layout.extend(T::layout(self.ref_meta())).unwrap().0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/thinarc.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/thinarc.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | std::alloc::dealloc(self.0.as_ptr(), layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::num::NonZero::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/state/mode.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | Mode(NonZeroU8::new_unchecked(letter)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/state/mode.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub const unsafe fn new_unchecked(letter: u8) -> Mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::num::NonZero::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/state/mode.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | Mode(NonZeroU8::new_unchecked(basis + (25 - (index >> 1) as u8))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/state/mode.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub(self) unsafe fn new_from_index(index: u32) -> Mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0282, E0392. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vinezombie` (lib) due to 6 previous errors; 59 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `util::ownedslice::OwnedSlice::::into_vec_with_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/bytes.rs:506:37 [INFO] [stdout] | [INFO] [stdout] 506 | let (retval, destroy) = os.into_vec_with_slice(slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/bytes.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | pub unsafe fn into_vec(self, slice: &[u8], secret: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::BytesNewtype::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/splitter.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | self.range.constrain(self.string.as_bytes_unsafe()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/splitter.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe fn as_slice_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | self.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | self.using_value(bytes, if utf8 { Utf8Policy::Valid } else { Utf8Policy::Recheck }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::NoNul::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::NoNul::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl_subtype! { [INFO] [stdout] 87 | | "A [`Bytes`] that does not contain NUL." [INFO] [stdout] 88 | | NoNul: Bytes [INFO] [stdout] 89 | | NoNulSafe: Transform [INFO] [stdout] 90 | | is_invalid_for_nonul; [INFO] [stdout] 91 | | return_none; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Line::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Line::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl_subtype! { [INFO] [stdout] 101 | | "A [`NoNul`] that does not contain CR or LF." [INFO] [stdout] 102 | | Line: NoNul [INFO] [stdout] 103 | | LineSafe: NoNulSafe [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Word::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Word::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_subtype! { [INFO] [stdout] 119 | | "A [`Line`] that does not contain ASCII spaces." [INFO] [stdout] 120 | | Word: Line [INFO] [stdout] 121 | | WordSafe: LineSafe [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Arg::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Arg::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl_subtype! { [INFO] [stdout] 142 | | "A non-empty [`Word`] that does not begin with `:`." [INFO] [stdout] 143 | | Arg: Word [INFO] [stdout] 144 | | ArgSafe: WordSafe [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Key::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Key::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_subtype! { [INFO] [stdout] 161 | | "An [`Arg`] that does not contain `=` or `;`.\n" [INFO] [stdout] 162 | | Key: Arg [INFO] [stdout] 163 | | KeySafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Nick::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Nick::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl_subtype! { [INFO] [stdout] 186 | | "An [`Arg`] that does not contain `!` or `@`.\nIntended for use with nicknames." [INFO] [stdout] 187 | | Nick: Arg [INFO] [stdout] 188 | | NickSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::User::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::User::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_subtype! { [INFO] [stdout] 201 | | "An [`Arg`] that does not contain `@` or `%`.\nIntended for use with usernames." [INFO] [stdout] 202 | | User: Arg [INFO] [stdout] 203 | | UserSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::as_bytes_unsafe` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.0.as_bytes_unsafe() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn as_bytes_unsafe(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Cmd::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn from_unchecked(bytes: Bytes<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::bytes::Bytes::<'a>::using_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let bytes = self.0.using_value(bytes, utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/string/subtypes/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe fn using_value(&self, bytes: &'a [u8], utf8: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `string::subtypes::Cmd::<'a>::from_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/string/subtypes/macros.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | Self::from_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/string/subtypes.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl_subtype! { [INFO] [stdout] 221 | | "An [`Arg`] that only contains ASCII uppercase characters." [INFO] [stdout] 222 | | Cmd: Arg [INFO] [stdout] 223 | | CmdSafe: ArgSafe [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_subtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | ptr.cast::().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe fn make_ref(ptr: NonNull, _: &Self::Metadata) -> Self::Ref<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/dynsized.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ptr.cast::().as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/dynsized.rs:35:5 [INFO] [stdout] | [WARN] too many lines in the log, truncating it