[INFO] fetching crate widestring 1.0.2... [INFO] checking widestring-1.0.2 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate widestring 1.0.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate widestring 1.0.2 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate widestring 1.0.2 [INFO] finished tweaking crates.io crate widestring 1.0.2 [INFO] tweaked toml for crates.io crate widestring 1.0.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf73b73b59975e66812fc884e88741acb85cfb18c45449edf9624881698e0f76 [INFO] running `Command { std: "docker" "start" "-a" "cf73b73b59975e66812fc884e88741acb85cfb18c45449edf9624881698e0f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf73b73b59975e66812fc884e88741acb85cfb18c45449edf9624881698e0f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf73b73b59975e66812fc884e88741acb85cfb18c45449edf9624881698e0f76", kill_on_drop: false }` [INFO] [stdout] cf73b73b59975e66812fc884e88741acb85cfb18c45449edf9624881698e0f76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00a4f76adde4a93442f56bf33de196c3af148a06fe90494ec6dd966f1f267200 [INFO] running `Command { std: "docker" "start" "-a" "00a4f76adde4a93442f56bf33de196c3af148a06fe90494ec6dd966f1f267200", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking widestring v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ustring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustring.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/ustring.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ustring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustring.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/ustring.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "00a4f76adde4a93442f56bf33de196c3af148a06fe90494ec6dd966f1f267200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00a4f76adde4a93442f56bf33de196c3af148a06fe90494ec6dd966f1f267200", kill_on_drop: false }` [INFO] [stdout] 00a4f76adde4a93442f56bf33de196c3af148a06fe90494ec6dd966f1f267200 [INFO] checking widestring-1.0.2 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate widestring 1.0.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate widestring 1.0.2 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate widestring 1.0.2 [INFO] finished tweaking crates.io crate widestring 1.0.2 [INFO] tweaked toml for crates.io crate widestring 1.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f99052e6f74b876f12114a51eff5067f66dee28b33185fc776bc1a015a0eaa0 [INFO] running `Command { std: "docker" "start" "-a" "2f99052e6f74b876f12114a51eff5067f66dee28b33185fc776bc1a015a0eaa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f99052e6f74b876f12114a51eff5067f66dee28b33185fc776bc1a015a0eaa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f99052e6f74b876f12114a51eff5067f66dee28b33185fc776bc1a015a0eaa0", kill_on_drop: false }` [INFO] [stdout] 2f99052e6f74b876f12114a51eff5067f66dee28b33185fc776bc1a015a0eaa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99f529caa13fb6364b11d664972ee596c488cdce5a3d77c31f877c122418d60d [INFO] running `Command { std: "docker" "start" "-a" "99f529caa13fb6364b11d664972ee596c488cdce5a3d77c31f877c122418d60d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking widestring v1.0.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/ustring.rs (3 fixes) [INFO] [stderr] Fixed src/ucstr.rs (40 fixes) [INFO] [stderr] Fixed src/utfstring.rs (6 fixes) [INFO] [stderr] Fixed src/ucstring.rs (21 fixes) [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Fixed src/ustr.rs (10 fixes) [INFO] [stderr] Fixed src/utfstr.rs (20 fixes) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ustring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustring.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/ustring.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn from_ptr_str<'a>(p: *const $uchar) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:117:82 [INFO] [stdout] | [INFO] [stdout] 117 | pub unsafe fn from_ptr_str_mut<'a>(p: *mut $uchar) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:163:55 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result<&'a Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:211:59 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<&'a mut Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:259:59 [INFO] [stdout] | [INFO] [stdout] 259 | ) -> Result<&'a Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:302:63 [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Result<&'a mut Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:344:94 [INFO] [stdout] | [INFO] [stdout] 344 | pub unsafe fn from_ptr_unchecked<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:380:100 [INFO] [stdout] | [INFO] [stdout] 380 | pub unsafe fn from_ptr_unchecked_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:480:83 [INFO] [stdout] | [INFO] [stdout] 480 | pub const unsafe fn from_slice_unchecked(slice: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:495:89 [INFO] [stdout] | [INFO] [stdout] 495 | pub unsafe fn from_slice_unchecked_mut(slice: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:671:66 [INFO] [stdout] | [INFO] [stdout] 671 | pub unsafe fn as_mut_ustr(&mut self) -> &mut $ustr { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:721:15 [INFO] [stdout] | [INFO] [stdout] 721 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:766:15 [INFO] [stdout] | [INFO] [stdout] 766 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:801:93 [INFO] [stdout] | [INFO] [stdout] 801 | pub unsafe fn split_at_mut(&mut self, mid: usize) -> (&mut $ustr, &mut $ustr) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn from_ptr_str<'a>(p: *const $uchar) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:117:82 [INFO] [stdout] | [INFO] [stdout] 117 | pub unsafe fn from_ptr_str_mut<'a>(p: *mut $uchar) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:163:55 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result<&'a Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:211:59 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<&'a mut Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:259:59 [INFO] [stdout] | [INFO] [stdout] 259 | ) -> Result<&'a Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:302:63 [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Result<&'a mut Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:344:94 [INFO] [stdout] | [INFO] [stdout] 344 | pub unsafe fn from_ptr_unchecked<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:380:100 [INFO] [stdout] | [INFO] [stdout] 380 | pub unsafe fn from_ptr_unchecked_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:480:83 [INFO] [stdout] | [INFO] [stdout] 480 | pub const unsafe fn from_slice_unchecked(slice: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:495:89 [INFO] [stdout] | [INFO] [stdout] 495 | pub unsafe fn from_slice_unchecked_mut(slice: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:671:66 [INFO] [stdout] | [INFO] [stdout] 671 | pub unsafe fn as_mut_ustr(&mut self) -> &mut $ustr { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:721:15 [INFO] [stdout] | [INFO] [stdout] 721 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:766:15 [INFO] [stdout] | [INFO] [stdout] 766 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:801:93 [INFO] [stdout] | [INFO] [stdout] 801 | pub unsafe fn split_at_mut(&mut self, mid: usize) -> (&mut $ustr, &mut $ustr) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:133:79 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn from_ustr_unchecked(s: impl AsRef<$ustr>) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | pub unsafe fn from_ptr_str(p: *const $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:231:85 [INFO] [stdout] | [INFO] [stdout] 231 | pub unsafe fn from_ptr_truncate(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:264:86 [INFO] [stdout] | [INFO] [stdout] 264 | pub unsafe fn from_ptr_unchecked(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:358:62 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn from_raw(p: *mut $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:133:79 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn from_ustr_unchecked(s: impl AsRef<$ustr>) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | pub unsafe fn from_ptr_str(p: *const $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:231:85 [INFO] [stdout] | [INFO] [stdout] 231 | pub unsafe fn from_ptr_truncate(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:264:86 [INFO] [stdout] | [INFO] [stdout] 264 | pub unsafe fn from_ptr_unchecked(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:358:62 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn from_raw(p: *mut $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:75:84 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn from_ptr<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:107:90 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe fn from_ptr_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:75:84 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn from_ptr<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:107:90 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe fn from_ptr_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustring.rs:105:76 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn from_ptr(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 913 | / ustring_common_impl! { [INFO] [stdout] 914 | | /// An owned, mutable 16-bit wide string with undefined encoding. [INFO] [stdout] 915 | | /// [INFO] [stdout] 916 | | /// The string slice of a [`U16String`] is [`U16Str`]. [INFO] [stdout] ... | [INFO] [stdout] 1037 | | fn into_boxed_ustr() -> {} [INFO] [stdout] 1038 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustring.rs:105:76 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn from_ptr(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1040 | / ustring_common_impl! { [INFO] [stdout] 1041 | | /// An owned, mutable 32-bit wide string with undefined encoding. [INFO] [stdout] 1042 | | /// [INFO] [stdout] 1043 | | /// The string slice of a [`U32String`] is [`U32Str`]. [INFO] [stdout] ... | [INFO] [stdout] 1164 | | fn into_boxed_ustr() -> {} [INFO] [stdout] 1165 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:59:79 [INFO] [stdout] | [INFO] [stdout] 59 | pub const unsafe fn from_slice_unchecked(s: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:67:85 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn from_slice_unchecked_mut(s: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:76:87 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn from_boxed_slice_unchecked(s: Box<[$uchar]>) -> Box { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:59:79 [INFO] [stdout] | [INFO] [stdout] 59 | pub const unsafe fn from_slice_unchecked(s: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:67:85 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn from_slice_unchecked_mut(s: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:76:87 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn from_boxed_slice_unchecked(s: Box<[$uchar]>) -> Box { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstring.rs:205:79 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn insert_slice(&mut self, idx: usize, slice: &[$uchar]) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 890 | / utfstring_common_impl! { [INFO] [stdout] 891 | | /// A UTF-16 encoded, growable owned string. [INFO] [stdout] 892 | | /// [INFO] [stdout] 893 | | /// [`Utf16String`] is a version of [`String`] that uses UTF-16 encoding instead of UTF-8 [INFO] [stdout] ... | [INFO] [stdout] 996 | | fn as_mut_vec() -> {} [INFO] [stdout] 997 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstring.rs:205:79 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn insert_slice(&mut self, idx: usize, slice: &[$uchar]) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 999 | / utfstring_common_impl! { [INFO] [stdout] 1000 | | /// A UTF-32 encoded, growable owned string. [INFO] [stdout] 1001 | | /// [INFO] [stdout] 1002 | | /// [`Utf32String`] is a version of [`String`] that uses UTF-32 encoding instead of UTF-8 [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn as_mut_vec() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ustring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustring.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/ustring.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn from_ptr_str<'a>(p: *const $uchar) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:117:82 [INFO] [stdout] | [INFO] [stdout] 117 | pub unsafe fn from_ptr_str_mut<'a>(p: *mut $uchar) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:163:55 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result<&'a Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:211:59 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<&'a mut Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:259:59 [INFO] [stdout] | [INFO] [stdout] 259 | ) -> Result<&'a Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:302:63 [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Result<&'a mut Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:344:94 [INFO] [stdout] | [INFO] [stdout] 344 | pub unsafe fn from_ptr_unchecked<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:380:100 [INFO] [stdout] | [INFO] [stdout] 380 | pub unsafe fn from_ptr_unchecked_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:480:83 [INFO] [stdout] | [INFO] [stdout] 480 | pub const unsafe fn from_slice_unchecked(slice: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:495:89 [INFO] [stdout] | [INFO] [stdout] 495 | pub unsafe fn from_slice_unchecked_mut(slice: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:671:66 [INFO] [stdout] | [INFO] [stdout] 671 | pub unsafe fn as_mut_ustr(&mut self) -> &mut $ustr { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:721:15 [INFO] [stdout] | [INFO] [stdout] 721 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:766:15 [INFO] [stdout] | [INFO] [stdout] 766 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:801:93 [INFO] [stdout] | [INFO] [stdout] 801 | pub unsafe fn split_at_mut(&mut self, mid: usize) -> (&mut $ustr, &mut $ustr) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn from_ptr_str<'a>(p: *const $uchar) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:117:82 [INFO] [stdout] | [INFO] [stdout] 117 | pub unsafe fn from_ptr_str_mut<'a>(p: *mut $uchar) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:163:55 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result<&'a Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:211:59 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<&'a mut Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:259:59 [INFO] [stdout] | [INFO] [stdout] 259 | ) -> Result<&'a Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:302:63 [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Result<&'a mut Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:344:94 [INFO] [stdout] | [INFO] [stdout] 344 | pub unsafe fn from_ptr_unchecked<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:380:100 [INFO] [stdout] | [INFO] [stdout] 380 | pub unsafe fn from_ptr_unchecked_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:480:83 [INFO] [stdout] | [INFO] [stdout] 480 | pub const unsafe fn from_slice_unchecked(slice: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:495:89 [INFO] [stdout] | [INFO] [stdout] 495 | pub unsafe fn from_slice_unchecked_mut(slice: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:671:66 [INFO] [stdout] | [INFO] [stdout] 671 | pub unsafe fn as_mut_ustr(&mut self) -> &mut $ustr { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:721:15 [INFO] [stdout] | [INFO] [stdout] 721 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:766:15 [INFO] [stdout] | [INFO] [stdout] 766 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:801:93 [INFO] [stdout] | [INFO] [stdout] 801 | pub unsafe fn split_at_mut(&mut self, mid: usize) -> (&mut $ustr, &mut $ustr) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:133:79 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn from_ustr_unchecked(s: impl AsRef<$ustr>) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | pub unsafe fn from_ptr_str(p: *const $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:231:85 [INFO] [stdout] | [INFO] [stdout] 231 | pub unsafe fn from_ptr_truncate(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:264:86 [INFO] [stdout] | [INFO] [stdout] 264 | pub unsafe fn from_ptr_unchecked(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:358:62 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn from_raw(p: *mut $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:133:79 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn from_ustr_unchecked(s: impl AsRef<$ustr>) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | pub unsafe fn from_ptr_str(p: *const $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:231:85 [INFO] [stdout] | [INFO] [stdout] 231 | pub unsafe fn from_ptr_truncate(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:264:86 [INFO] [stdout] | [INFO] [stdout] 264 | pub unsafe fn from_ptr_unchecked(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:358:62 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn from_raw(p: *mut $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:75:84 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn from_ptr<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:107:90 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe fn from_ptr_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:75:84 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn from_ptr<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:107:90 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe fn from_ptr_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustring.rs:105:76 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn from_ptr(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 913 | / ustring_common_impl! { [INFO] [stdout] 914 | | /// An owned, mutable 16-bit wide string with undefined encoding. [INFO] [stdout] 915 | | /// [INFO] [stdout] 916 | | /// The string slice of a [`U16String`] is [`U16Str`]. [INFO] [stdout] ... | [INFO] [stdout] 1037 | | fn into_boxed_ustr() -> {} [INFO] [stdout] 1038 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustring.rs:105:76 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn from_ptr(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1040 | / ustring_common_impl! { [INFO] [stdout] 1041 | | /// An owned, mutable 32-bit wide string with undefined encoding. [INFO] [stdout] 1042 | | /// [INFO] [stdout] 1043 | | /// The string slice of a [`U32String`] is [`U32Str`]. [INFO] [stdout] ... | [INFO] [stdout] 1164 | | fn into_boxed_ustr() -> {} [INFO] [stdout] 1165 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:59:79 [INFO] [stdout] | [INFO] [stdout] 59 | pub const unsafe fn from_slice_unchecked(s: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:67:85 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn from_slice_unchecked_mut(s: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:76:87 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn from_boxed_slice_unchecked(s: Box<[$uchar]>) -> Box { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:59:79 [INFO] [stdout] | [INFO] [stdout] 59 | pub const unsafe fn from_slice_unchecked(s: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.42s [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:67:85 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn from_slice_unchecked_mut(s: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:76:87 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn from_boxed_slice_unchecked(s: Box<[$uchar]>) -> Box { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstring.rs:205:79 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn insert_slice(&mut self, idx: usize, slice: &[$uchar]) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 890 | / utfstring_common_impl! { [INFO] [stdout] 891 | | /// A UTF-16 encoded, growable owned string. [INFO] [stdout] 892 | | /// [INFO] [stdout] 893 | | /// [`Utf16String`] is a version of [`String`] that uses UTF-16 encoding instead of UTF-8 [INFO] [stdout] ... | [INFO] [stdout] 996 | | fn as_mut_vec() -> {} [INFO] [stdout] 997 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstring.rs:205:79 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn insert_slice(&mut self, idx: usize, slice: &[$uchar]) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 999 | / utfstring_common_impl! { [INFO] [stdout] 1000 | | /// A UTF-32 encoded, growable owned string. [INFO] [stdout] 1001 | | /// [INFO] [stdout] 1002 | | /// [`Utf32String`] is a version of [`String`] that uses UTF-32 encoding instead of UTF-8 [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn as_mut_vec() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking widestring v1.0.2 (/tmp/fixit) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ustring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustring.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/ustring.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/iter.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ucstr.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::{borrow::ToOwned, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ucstring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustr.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{boxed::Box, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustr/iter.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ustring.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/ustring.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/ustring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ustring.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/ustring.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/ustring/iter.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{borrow::Cow, boxed::Box, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstr.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | convert::{AsMut, AsRef, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstr/iter.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{Copied, DoubleEndedIterator, ExactSizeIterator, FlatMap, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | convert::{AsMut, AsRef, From, Infallible, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/utfstring.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/utfstring/iter.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn from_ptr_str<'a>(p: *const $uchar) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:117:82 [INFO] [stdout] | [INFO] [stdout] 117 | pub unsafe fn from_ptr_str_mut<'a>(p: *mut $uchar) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:163:55 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result<&'a Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:211:59 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<&'a mut Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:259:59 [INFO] [stdout] | [INFO] [stdout] 259 | ) -> Result<&'a Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:302:63 [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Result<&'a mut Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:344:94 [INFO] [stdout] | [INFO] [stdout] 344 | pub unsafe fn from_ptr_unchecked<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:380:100 [INFO] [stdout] | [INFO] [stdout] 380 | pub unsafe fn from_ptr_unchecked_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:480:83 [INFO] [stdout] | [INFO] [stdout] 480 | pub const unsafe fn from_slice_unchecked(slice: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:495:89 [INFO] [stdout] | [INFO] [stdout] 495 | pub unsafe fn from_slice_unchecked_mut(slice: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:671:66 [INFO] [stdout] | [INFO] [stdout] 671 | pub unsafe fn as_mut_ustr(&mut self) -> &mut $ustr { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:721:15 [INFO] [stdout] | [INFO] [stdout] 721 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:766:15 [INFO] [stdout] | [INFO] [stdout] 766 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:801:93 [INFO] [stdout] | [INFO] [stdout] 801 | pub unsafe fn split_at_mut(&mut self, mid: usize) -> (&mut $ustr, &mut $ustr) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn from_ptr_str<'a>(p: *const $uchar) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:117:82 [INFO] [stdout] | [INFO] [stdout] 117 | pub unsafe fn from_ptr_str_mut<'a>(p: *mut $uchar) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:163:55 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result<&'a Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:211:59 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<&'a mut Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:259:59 [INFO] [stdout] | [INFO] [stdout] 259 | ) -> Result<&'a Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:302:63 [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Result<&'a mut Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:344:94 [INFO] [stdout] | [INFO] [stdout] 344 | pub unsafe fn from_ptr_unchecked<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:380:100 [INFO] [stdout] | [INFO] [stdout] 380 | pub unsafe fn from_ptr_unchecked_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:480:83 [INFO] [stdout] | [INFO] [stdout] 480 | pub const unsafe fn from_slice_unchecked(slice: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:495:89 [INFO] [stdout] | [INFO] [stdout] 495 | pub unsafe fn from_slice_unchecked_mut(slice: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:671:66 [INFO] [stdout] | [INFO] [stdout] 671 | pub unsafe fn as_mut_ustr(&mut self) -> &mut $ustr { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:721:15 [INFO] [stdout] | [INFO] [stdout] 721 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:766:15 [INFO] [stdout] | [INFO] [stdout] 766 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:801:93 [INFO] [stdout] | [INFO] [stdout] 801 | pub unsafe fn split_at_mut(&mut self, mid: usize) -> (&mut $ustr, &mut $ustr) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:133:79 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn from_ustr_unchecked(s: impl AsRef<$ustr>) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | pub unsafe fn from_ptr_str(p: *const $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:231:85 [INFO] [stdout] | [INFO] [stdout] 231 | pub unsafe fn from_ptr_truncate(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:264:86 [INFO] [stdout] | [INFO] [stdout] 264 | pub unsafe fn from_ptr_unchecked(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:358:62 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn from_raw(p: *mut $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:133:79 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn from_ustr_unchecked(s: impl AsRef<$ustr>) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | pub unsafe fn from_ptr_str(p: *const $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:231:85 [INFO] [stdout] | [INFO] [stdout] 231 | pub unsafe fn from_ptr_truncate(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:264:86 [INFO] [stdout] | [INFO] [stdout] 264 | pub unsafe fn from_ptr_unchecked(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:358:62 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn from_raw(p: *mut $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:75:84 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn from_ptr<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:107:90 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe fn from_ptr_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:75:84 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn from_ptr<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:107:90 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe fn from_ptr_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustring.rs:105:76 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn from_ptr(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 913 | / ustring_common_impl! { [INFO] [stdout] 914 | | /// An owned, mutable 16-bit wide string with undefined encoding. [INFO] [stdout] 915 | | /// [INFO] [stdout] 916 | | /// The string slice of a [`U16String`] is [`U16Str`]. [INFO] [stdout] ... | [INFO] [stdout] 1037 | | fn into_boxed_ustr() -> {} [INFO] [stdout] 1038 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustring.rs:105:76 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn from_ptr(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1040 | / ustring_common_impl! { [INFO] [stdout] 1041 | | /// An owned, mutable 32-bit wide string with undefined encoding. [INFO] [stdout] 1042 | | /// [INFO] [stdout] 1043 | | /// The string slice of a [`U32String`] is [`U32Str`]. [INFO] [stdout] ... | [INFO] [stdout] 1164 | | fn into_boxed_ustr() -> {} [INFO] [stdout] 1165 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn from_ptr_str<'a>(p: *const $uchar) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:117:82 [INFO] [stdout] | [INFO] [stdout] 117 | pub unsafe fn from_ptr_str_mut<'a>(p: *mut $uchar) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:163:55 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result<&'a Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:211:59 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<&'a mut Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:259:59 [INFO] [stdout] | [INFO] [stdout] 259 | ) -> Result<&'a Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:302:63 [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Result<&'a mut Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:344:94 [INFO] [stdout] | [INFO] [stdout] 344 | pub unsafe fn from_ptr_unchecked<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:380:100 [INFO] [stdout] | [INFO] [stdout] 380 | pub unsafe fn from_ptr_unchecked_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:480:83 [INFO] [stdout] | [INFO] [stdout] 480 | pub const unsafe fn from_slice_unchecked(slice: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:495:89 [INFO] [stdout] | [INFO] [stdout] 495 | pub unsafe fn from_slice_unchecked_mut(slice: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:671:66 [INFO] [stdout] | [INFO] [stdout] 671 | pub unsafe fn as_mut_ustr(&mut self) -> &mut $ustr { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:59:79 [INFO] [stdout] | [INFO] [stdout] 59 | pub const unsafe fn from_slice_unchecked(s: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:721:15 [INFO] [stdout] | [INFO] [stdout] 721 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:67:85 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn from_slice_unchecked_mut(s: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:766:15 [INFO] [stdout] | [INFO] [stdout] 766 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:76:87 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn from_boxed_slice_unchecked(s: Box<[$uchar]>) -> Box { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:801:93 [INFO] [stdout] | [INFO] [stdout] 801 | pub unsafe fn split_at_mut(&mut self, mid: usize) -> (&mut $ustr, &mut $ustr) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 938 | / ucstr_common_impl! { [INFO] [stdout] 939 | | /// C-style 16-bit wide string slice for [`U16CString`][crate::U16CString]. [INFO] [stdout] 940 | | /// [INFO] [stdout] 941 | | /// [`U16CStr`] is to [`U16CString`][crate::U16CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn display() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn from_ptr_str<'a>(p: *const $uchar) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:117:82 [INFO] [stdout] | [INFO] [stdout] 117 | pub unsafe fn from_ptr_str_mut<'a>(p: *mut $uchar) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:163:55 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result<&'a Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:59:79 [INFO] [stdout] | [INFO] [stdout] 59 | pub const unsafe fn from_slice_unchecked(s: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:211:59 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<&'a mut Self, NulError<$uchar>> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:67:85 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn from_slice_unchecked_mut(s: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:259:59 [INFO] [stdout] | [INFO] [stdout] 259 | ) -> Result<&'a Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:76:87 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn from_boxed_slice_unchecked(s: Box<[$uchar]>) -> Box { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:302:63 [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Result<&'a mut Self, MissingNulTerminator> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:344:94 [INFO] [stdout] | [INFO] [stdout] 344 | pub unsafe fn from_ptr_unchecked<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:380:100 [INFO] [stdout] | [INFO] [stdout] 380 | pub unsafe fn from_ptr_unchecked_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:480:83 [INFO] [stdout] | [INFO] [stdout] 480 | pub const unsafe fn from_slice_unchecked(slice: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:495:89 [INFO] [stdout] | [INFO] [stdout] 495 | pub unsafe fn from_slice_unchecked_mut(slice: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:671:66 [INFO] [stdout] | [INFO] [stdout] 671 | pub unsafe fn as_mut_ustr(&mut self) -> &mut $ustr { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:721:15 [INFO] [stdout] | [INFO] [stdout] 721 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:766:15 [INFO] [stdout] | [INFO] [stdout] 766 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstr.rs:801:93 [INFO] [stdout] | [INFO] [stdout] 801 | pub unsafe fn split_at_mut(&mut self, mid: usize) -> (&mut $ustr, &mut $ustr) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1109 | / ucstr_common_impl! { [INFO] [stdout] 1110 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1111 | | /// [INFO] [stdout] 1112 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1277 | | fn display() -> {} [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstring.rs:205:79 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn insert_slice(&mut self, idx: usize, slice: &[$uchar]) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 890 | / utfstring_common_impl! { [INFO] [stdout] 891 | | /// A UTF-16 encoded, growable owned string. [INFO] [stdout] 892 | | /// [INFO] [stdout] 893 | | /// [`Utf16String`] is a version of [`String`] that uses UTF-16 encoding instead of UTF-8 [INFO] [stdout] ... | [INFO] [stdout] 996 | | fn as_mut_vec() -> {} [INFO] [stdout] 997 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:133:79 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn from_ustr_unchecked(s: impl AsRef<$ustr>) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | pub unsafe fn from_ptr_str(p: *const $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:231:85 [INFO] [stdout] | [INFO] [stdout] 231 | pub unsafe fn from_ptr_truncate(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:264:86 [INFO] [stdout] | [INFO] [stdout] 264 | pub unsafe fn from_ptr_unchecked(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:358:62 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn from_raw(p: *mut $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 667 | / ucstring_common_impl! { [INFO] [stdout] 668 | | /// An owned, mutable C-style 16-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 669 | | /// [INFO] [stdout] 670 | | /// The string slice of a [`U16CString`] is [`U16CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 827 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 828 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstring.rs:205:79 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn insert_slice(&mut self, idx: usize, slice: &[$uchar]) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 999 | / utfstring_common_impl! { [INFO] [stdout] 1000 | | /// A UTF-32 encoded, growable owned string. [INFO] [stdout] 1001 | | /// [INFO] [stdout] 1002 | | /// [`Utf32String`] is a version of [`String`] that uses UTF-32 encoding instead of UTF-8 [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn as_mut_vec() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:133:79 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn from_ustr_unchecked(s: impl AsRef<$ustr>) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | pub unsafe fn from_ptr_str(p: *const $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:231:85 [INFO] [stdout] | [INFO] [stdout] 231 | pub unsafe fn from_ptr_truncate(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:264:86 [INFO] [stdout] | [INFO] [stdout] 264 | pub unsafe fn from_ptr_unchecked(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ucstring.rs:358:62 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn from_raw(p: *mut $uchar) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:75:84 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn from_ptr<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:107:90 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe fn from_ptr_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 522 | / ustr_common_impl! { [INFO] [stdout] 523 | | /// 16-bit wide string slice with undefined encoding. [INFO] [stdout] 524 | | /// [INFO] [stdout] 525 | | /// [`U16Str`] is to [`U16String`][crate::U16String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 636 | | fn display() -> {} [INFO] [stdout] 637 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:75:84 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn from_ptr<'a>(p: *const $uchar, len: usize) -> &'a Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:107:90 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe fn from_ptr_mut<'a>(p: *mut $uchar, len: usize) -> &'a mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustr.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 639 | / ustr_common_impl! { [INFO] [stdout] 640 | | /// 32-bit wide string slice with undefined encoding. [INFO] [stdout] 641 | | /// [INFO] [stdout] 642 | | /// [`U32Str`] is to [`U32String`][crate::U32String] as [`OsStr`][std::ffi::OsStr] is to [INFO] [stdout] ... | [INFO] [stdout] 753 | | fn display() -> {} [INFO] [stdout] 754 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustring.rs:105:76 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn from_ptr(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 913 | / ustring_common_impl! { [INFO] [stdout] 914 | | /// An owned, mutable 16-bit wide string with undefined encoding. [INFO] [stdout] 915 | | /// [INFO] [stdout] 916 | | /// The string slice of a [`U16String`] is [`U16Str`]. [INFO] [stdout] ... | [INFO] [stdout] 1037 | | fn into_boxed_ustr() -> {} [INFO] [stdout] 1038 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ustring.rs:105:76 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn from_ptr(p: *const $uchar, len: usize) -> Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1040 | / ustring_common_impl! { [INFO] [stdout] 1041 | | /// An owned, mutable 32-bit wide string with undefined encoding. [INFO] [stdout] 1042 | | /// [INFO] [stdout] 1043 | | /// The string slice of a [`U32String`] is [`U32Str`]. [INFO] [stdout] ... | [INFO] [stdout] 1164 | | fn into_boxed_ustr() -> {} [INFO] [stdout] 1165 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ustring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:59:79 [INFO] [stdout] | [INFO] [stdout] 59 | pub const unsafe fn from_slice_unchecked(s: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:67:85 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn from_slice_unchecked_mut(s: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:76:87 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn from_boxed_slice_unchecked(s: Box<[$uchar]>) -> Box { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 479 | / utfstr_common_impl! { [INFO] [stdout] 480 | | /// UTF-16 string slice for [`Utf16String`][crate::Utf16String]. [INFO] [stdout] 481 | | /// [INFO] [stdout] 482 | | /// [`Utf16Str`] is to [`Utf16String`][crate::Utf16String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 645 | | fn len() -> {} [INFO] [stdout] 646 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:59:79 [INFO] [stdout] | [INFO] [stdout] 59 | pub const unsafe fn from_slice_unchecked(s: &[$uchar]) -> &Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:67:85 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn from_slice_unchecked_mut(s: &mut [$uchar]) -> &mut Self { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:76:87 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn from_boxed_slice_unchecked(s: Box<[$uchar]>) -> Box { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstr.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 648 | / utfstr_common_impl! { [INFO] [stdout] 649 | | /// UTF-32 string slice for [`Utf32String`][crate::Utf32String]. [INFO] [stdout] 650 | | /// [INFO] [stdout] 651 | | /// [`Utf32Str`] is to [`Utf32String`][crate::Utf32String] as [`str`] is to [`String`]. [INFO] [stdout] ... | [INFO] [stdout] 824 | | fn len() -> {} [INFO] [stdout] 825 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstring.rs:205:79 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn insert_slice(&mut self, idx: usize, slice: &[$uchar]) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 890 | / utfstring_common_impl! { [INFO] [stdout] 891 | | /// A UTF-16 encoded, growable owned string. [INFO] [stdout] 892 | | /// [INFO] [stdout] 893 | | /// [`Utf16String`] is a version of [`String`] that uses UTF-16 encoding instead of UTF-8 [INFO] [stdout] ... | [INFO] [stdout] 996 | | fn as_mut_vec() -> {} [INFO] [stdout] 997 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utfstring.rs:205:79 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn insert_slice(&mut self, idx: usize, slice: &[$uchar]) { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 999 | / utfstring_common_impl! { [INFO] [stdout] 1000 | | /// A UTF-32 encoded, growable owned string. [INFO] [stdout] 1001 | | /// [INFO] [stdout] 1002 | | /// [`Utf32String`] is a version of [`String`] that uses UTF-32 encoding instead of UTF-8 [INFO] [stdout] ... | [INFO] [stdout] 1106 | | fn as_mut_vec() -> {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `utfstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "99f529caa13fb6364b11d664972ee596c488cdce5a3d77c31f877c122418d60d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99f529caa13fb6364b11d664972ee596c488cdce5a3d77c31f877c122418d60d", kill_on_drop: false }` [INFO] [stdout] 99f529caa13fb6364b11d664972ee596c488cdce5a3d77c31f877c122418d60d