[INFO] cloning repository https://github.com/TimLuq/bytedata-extra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TimLuq/bytedata-extra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimLuq%2Fbytedata-extra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimLuq%2Fbytedata-extra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a889caae26f5939921c7291c7296a503145c72d9 [INFO] checking TimLuq/bytedata-extra against master#42f4793e5a514858221b07ac379029d90353913e for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimLuq%2Fbytedata-extra" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/TimLuq/bytedata-extra [INFO] finished tweaking git repo https://github.com/TimLuq/bytedata-extra [INFO] tweaked toml for git repo https://github.com/TimLuq/bytedata-extra written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TimLuq/bytedata-extra on toolchain 42f4793e5a514858221b07ac379029d90353913e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TimLuq/bytedata-extra already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-6-tc1/source/bytedata-io/Cargo.toml: unused manifest key: dependencies.tokio_1.defaukt-features [INFO] [stderr] Updating git repository `https://github.com/TimLuq/bytedata.git` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbb4675ab01a0f863ca1b26f8bb5a225546439c962d9d2018d2083213c3b6cda [INFO] running `Command { std: "docker" "start" "-a" "dbb4675ab01a0f863ca1b26f8bb5a225546439c962d9d2018d2083213c3b6cda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbb4675ab01a0f863ca1b26f8bb5a225546439c962d9d2018d2083213c3b6cda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbb4675ab01a0f863ca1b26f8bb5a225546439c962d9d2018d2083213c3b6cda", kill_on_drop: false }` [INFO] [stdout] dbb4675ab01a0f863ca1b26f8bb5a225546439c962d9d2018d2083213c3b6cda [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a68b42234544bbf79869924556eae8d5ddccdd1815a5c00231386b93e3039844 [INFO] running `Command { std: "docker" "start" "-a" "a68b42234544bbf79869924556eae8d5ddccdd1815a5c00231386b93e3039844", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/bytedata-io/Cargo.toml: unused manifest key: dependencies.tokio_1.defaukt-features [INFO] [stderr] Checking bytedata v0.1.15 (https://github.com/TimLuq/bytedata.git#78f4fb00) [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking bytedata-unicode v0.1.0 (/opt/rustwide/workdir/bytedata-unicode) [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking proc-macro2 v1.0.95 [INFO] [stderr] Compiling bytedata-pattern-core v0.1.0 (/opt/rustwide/workdir/bytedata-pattern-core) [INFO] [stderr] Checking bytedata-charset v0.1.0 (/opt/rustwide/workdir/bytedata-charset) [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear`, `set_u8`, and `unset_u8` are never used [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 17 | impl U8Flags { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) const fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) const fn set_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) const fn unset_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecResult` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum ExecResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl U8Flags { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) const fn is_set(self, flag: ExecResult) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 29 | impl ExecResult { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 30 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecFlag` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) enum ExecFlag { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, `set`, `unset`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 42 | impl U8Flags { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 43 | #[inline] [INFO] [stdout] 44 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) const fn set(&mut self, flag: ExecFlag) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) const fn unset(&mut self, flag: ExecFlag) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub(crate) const fn is_set(self, flag: ExecFlag) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 66 | impl ExecFlag { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 67 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestExec` is never constructed [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct TestExec<'e> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 80 | impl TestExec<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) const fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) const fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'a> TestExec<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 94 | pub(crate) const fn new(chunk: &'a [u8], offset: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl U8Flags { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) const fn is_set(self, flag: ExecResult) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 29 | impl ExecResult { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 30 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 42 | impl U8Flags { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 43 | #[inline] [INFO] [stdout] 44 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 66 | impl ExecFlag { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 67 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 80 | impl TestExec<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) const fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) const fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bytedata-pattern-core/src/test.rs:180:48 [INFO] [stdout] | [INFO] [stdout] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec { [INFO] [stdout] | ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> bytedata-charset/src/detect.rs:176:58 [INFO] [stdout] | [INFO] [stdout] 176 | pub const fn select_const(bytes: &[u8]) -> (&'static (dyn crate::CharsetRef), DetectionResult) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - pub const fn select_const(bytes: &[u8]) -> (&'static (dyn crate::CharsetRef), DetectionResult) { [INFO] [stdout] 176 + pub const fn select_const(bytes: &[u8]) -> (&'static dyn crate::CharsetRef, DetectionResult) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> bytedata-charset/src/detect.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | type Charset = &'static (dyn crate::CharsetRef); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 222 - type Charset = &'static (dyn crate::CharsetRef); [INFO] [stdout] 222 + type Charset = &'static dyn crate::CharsetRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking bytedata-unicode-macros v0.1.0 (/opt/rustwide/workdir/bytedata-unicode-macros) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 123 | panic!("{msg} (location = {file_path}:{line_count}, context = {context:?})"); [INFO] [stdout] | ---------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 124 | [INFO] [stdout] 125 | / TokenStream::from_iter([ [INFO] [stdout] 126 | | TokenTree::Ident(Ident::new("compile_error", Span::call_site())), [INFO] [stdout] 127 | | TokenTree::Punct(Punct::new('!', Spacing::Alone)), [INFO] [stdout] 128 | | TokenTree::Literal(Literal::string(&format!( [INFO] [stdout] 129 | | "{msg} (location = {file_path}:{line_count}, context = {context:?})" [INFO] [stdout] 130 | | ))), [INFO] [stdout] 131 | | ]) [INFO] [stdout] | |______^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear`, `set_u8`, and `unset_u8` are never used [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 17 | impl U8Flags { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) const fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) const fn set_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) const fn unset_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecResult` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum ExecResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl U8Flags { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) const fn is_set(self, flag: ExecResult) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 29 | impl ExecResult { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 30 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecFlag` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) enum ExecFlag { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, `set`, `unset`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 42 | impl U8Flags { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 43 | #[inline] [INFO] [stdout] 44 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) const fn set(&mut self, flag: ExecFlag) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) const fn unset(&mut self, flag: ExecFlag) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub(crate) const fn is_set(self, flag: ExecFlag) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 66 | impl ExecFlag { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 67 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestExec` is never constructed [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct TestExec<'e> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 80 | impl TestExec<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) const fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) const fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'a> TestExec<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 94 | pub(crate) const fn new(chunk: &'a [u8], offset: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl U8Flags { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) const fn is_set(self, flag: ExecResult) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 29 | impl ExecResult { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 30 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 42 | impl U8Flags { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 43 | #[inline] [INFO] [stdout] 44 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 66 | impl ExecFlag { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 67 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 80 | impl TestExec<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) const fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) const fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bytedata-pattern-core/src/test.rs:180:48 [INFO] [stdout] | [INFO] [stdout] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec { [INFO] [stdout] | ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear`, `set_u8`, and `unset_u8` are never used [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 17 | impl U8Flags { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) const fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) const fn set_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) const fn unset_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecResult` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum ExecResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl U8Flags { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) const fn is_set(self, flag: ExecResult) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 29 | impl ExecResult { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 30 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecFlag` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) enum ExecFlag { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, `set`, `unset`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 42 | impl U8Flags { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 43 | #[inline] [INFO] [stdout] 44 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) const fn set(&mut self, flag: ExecFlag) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) const fn unset(&mut self, flag: ExecFlag) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub(crate) const fn is_set(self, flag: ExecFlag) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 66 | impl ExecFlag { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 67 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestExec` is never constructed [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct TestExec<'e> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 80 | impl TestExec<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) const fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) const fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'a> TestExec<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 94 | pub(crate) const fn new(chunk: &'a [u8], offset: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl U8Flags { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) const fn is_set(self, flag: ExecResult) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 29 | impl ExecResult { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 30 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 42 | impl U8Flags { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 43 | #[inline] [INFO] [stdout] 44 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 66 | impl ExecFlag { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 67 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 80 | impl TestExec<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) const fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) const fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bytedata-pattern-core/src/test.rs:180:48 [INFO] [stdout] | [INFO] [stdout] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec { [INFO] [stdout] | ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> bytedata-charset/src/detect.rs:176:58 [INFO] [stdout] | [INFO] [stdout] 176 | pub const fn select_const(bytes: &[u8]) -> (&'static (dyn crate::CharsetRef), DetectionResult) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - pub const fn select_const(bytes: &[u8]) -> (&'static (dyn crate::CharsetRef), DetectionResult) { [INFO] [stdout] 176 + pub const fn select_const(bytes: &[u8]) -> (&'static dyn crate::CharsetRef, DetectionResult) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> bytedata-charset/src/detect.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | type Charset = &'static (dyn crate::CharsetRef); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 222 - type Charset = &'static (dyn crate::CharsetRef); [INFO] [stdout] 222 + type Charset = &'static dyn crate::CharsetRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_doc_empty` is never read [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | has_doc_empty = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `depth` is never read [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | depth = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 148 | impl CharBuf { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | const fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `camel` and `pascal` are never used [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 214 | impl<'a> MakeIdent<'a> { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 215 | fn camel(s: std::str::Chars<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn pascal(s: std::str::Chars<'a>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `avx512_target_feature` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stdout] --> bytedata-charset/src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | feature(avx512_target_feature, stdarch_x86_avx512) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `stdarch_x86_avx512` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stdout] --> bytedata-charset/src/lib.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | feature(avx512_target_feature, stdarch_x86_avx512) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `avx512_target_feature` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stdout] --> bytedata-charset/src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | feature(avx512_target_feature, stdarch_x86_avx512) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_doc_empty` is never read [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | has_doc_empty = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `stdarch_x86_avx512` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stdout] --> bytedata-charset/src/lib.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | feature(avx512_target_feature, stdarch_x86_avx512) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-charset/src/detect.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-charset/src/detect.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `depth` is never read [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | depth = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 148 | impl CharBuf { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | const fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `camel` and `pascal` are never used [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 214 | impl<'a> MakeIdent<'a> { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 215 | fn camel(s: std::str::Chars<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn pascal(s: std::str::Chars<'a>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-charset/src/detect.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> bytedata-charset/src/detect.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear`, `set_u8`, and `unset_u8` are never used [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 17 | impl U8Flags { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) const fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) const fn set_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) const fn unset_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecResult` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum ExecResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl U8Flags { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) const fn is_set(self, flag: ExecResult) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 29 | impl ExecResult { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 30 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecFlag` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) enum ExecFlag { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, `set`, `unset`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 42 | impl U8Flags { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 43 | #[inline] [INFO] [stdout] 44 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) const fn set(&mut self, flag: ExecFlag) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) const fn unset(&mut self, flag: ExecFlag) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub(crate) const fn is_set(self, flag: ExecFlag) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 66 | impl ExecFlag { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 67 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestExec` is never constructed [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct TestExec<'e> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 80 | impl TestExec<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) const fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) const fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> bytedata-pattern-core/src/exec_state.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'a> TestExec<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 94 | pub(crate) const fn new(chunk: &'a [u8], offset: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `is_err`, and `is_set` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl U8Flags { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) const fn is_set(self, flag: ExecResult) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 29 | impl ExecResult { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 30 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 42 | impl U8Flags { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 43 | #[inline] [INFO] [stdout] 44 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) const fn is_err(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_flags` is never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 66 | impl ExecFlag { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 67 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok` and `is_err` are never used [INFO] [stdout] --> bytedata-pattern-core/src/test_exec.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 80 | impl TestExec<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) const fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) const fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bytedata-pattern-core/src/test.rs:180:48 [INFO] [stdout] | [INFO] [stdout] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec { [INFO] [stdout] | ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stdout] warning: unused variable: `gbk` [INFO] [stdout] --> bytedata-charset/src/multi_byte/gb18030/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | const fn detect_const_inner(gbk: bool, mut bytes: &[u8]) -> crate::detect::DetectionResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gbk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> bytedata-charset/src/multi_byte/big5/mod.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | const fn detect_const_inner(bytes: &[u8]) -> crate::detect::DetectionResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stdout] warning: static `BIG5_CP` is never used [INFO] [stdout] --> bytedata-charset/src/multi_byte/big5/big5_cp.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) static BIG5_CP: [char; 18840] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> bytedata-charset/src/lib.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | pub mod multi_byte; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> bytedata-charset/src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> bytedata-charset/src/lib.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | pub mod single_byte; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/ascii7.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | let ch = core::mem::transmute::(ch); [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:144:48 [INFO] [stdout] | [INFO] [stdout] 144 | return DecodeResult::Char(unsafe { ::core::mem::transmute::(base) }, 2); [INFO] [stdout] | -----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:236:48 [INFO] [stdout] | [INFO] [stdout] 236 | return DecodeResult::Char(unsafe { ::core::mem::transmute::(base) }, 2); [INFO] [stdout] | -----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:695:27 [INFO] [stdout] | [INFO] [stdout] 695 | Some(unsafe { core::mem::transmute::(self.0 as u32) }) [INFO] [stdout] | ---------------------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:814:42 [INFO] [stdout] | [INFO] [stdout] 814 | let codepoint = unsafe { core::mem::transmute::(high as u32) }; [INFO] [stdout] | ---------------------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:833:22 [INFO] [stdout] | [INFO] [stdout] 833 | unsafe { core::mem::transmute::(uc) } [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:876:42 [INFO] [stdout] | [INFO] [stdout] 876 | let codepoint = unsafe { core::mem::transmute::(high as u32) }; [INFO] [stdout] | ---------------------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:895:22 [INFO] [stdout] | [INFO] [stdout] 895 | unsafe { core::mem::transmute::(uc) } [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:1141:27 [INFO] [stdout] | [INFO] [stdout] 1141 | Some(unsafe { core::mem::transmute::(uc) }) [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:1168:27 [INFO] [stdout] | [INFO] [stdout] 1168 | Some(unsafe { core::mem::transmute::(uc) }) [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> bytedata-charset/src/decode_stream.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DecodeStream<'a, C, S> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> bytedata-charset/src/decode_stream.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | pub trait DecodeStreamRead { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gbk` [INFO] [stdout] --> bytedata-charset/src/multi_byte/gb18030/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | const fn detect_const_inner(gbk: bool, mut bytes: &[u8]) -> crate::detect::DetectionResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gbk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> bytedata-charset/src/multi_byte/big5/mod.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | const fn detect_const_inner(bytes: &[u8]) -> crate::detect::DetectionResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BIG5_CP` is never used [INFO] [stdout] --> bytedata-charset/src/multi_byte/big5/big5_cp.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) static BIG5_CP: [char; 18840] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> bytedata-charset/src/lib.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | pub mod multi_byte; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> bytedata-charset/src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> bytedata-charset/src/lib.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | pub mod single_byte; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/ascii7.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | let ch = core::mem::transmute::(ch); [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:144:48 [INFO] [stdout] | [INFO] [stdout] 144 | return DecodeResult::Char(unsafe { ::core::mem::transmute::(base) }, 2); [INFO] [stdout] | -----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:236:48 [INFO] [stdout] | [INFO] [stdout] 236 | return DecodeResult::Char(unsafe { ::core::mem::transmute::(base) }, 2); [INFO] [stdout] | -----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:695:27 [INFO] [stdout] | [INFO] [stdout] 695 | Some(unsafe { core::mem::transmute::(self.0 as u32) }) [INFO] [stdout] | ---------------------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:814:42 [INFO] [stdout] | [INFO] [stdout] 814 | let codepoint = unsafe { core::mem::transmute::(high as u32) }; [INFO] [stdout] | ---------------------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:833:22 [INFO] [stdout] | [INFO] [stdout] 833 | unsafe { core::mem::transmute::(uc) } [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:876:42 [INFO] [stdout] | [INFO] [stdout] 876 | let codepoint = unsafe { core::mem::transmute::(high as u32) }; [INFO] [stdout] | ---------------------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:895:22 [INFO] [stdout] | [INFO] [stdout] 895 | unsafe { core::mem::transmute::(uc) } [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:1141:27 [INFO] [stdout] | [INFO] [stdout] 1141 | Some(unsafe { core::mem::transmute::(uc) }) [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bytedata-charset/src/utf16.rs:1168:27 [INFO] [stdout] | [INFO] [stdout] 1168 | Some(unsafe { core::mem::transmute::(uc) }) [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> bytedata-charset/src/decode_stream.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DecodeStream<'a, C, S> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> bytedata-charset/src/decode_stream.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | pub trait DecodeStreamRead { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bytedata-io v0.1.0 (/opt/rustwide/workdir/bytedata-io) [INFO] [stdout] warning: unused import: `MutexGuardArc` [INFO] [stdout] --> bytedata-io/src/impls/byte_stream.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use async_lock::{Mutex, MutexGuardArc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::*` [INFO] [stdout] --> bytedata-io/src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use impls::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuardArc` [INFO] [stdout] --> bytedata-io/src/impls/byte_stream.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use async_lock::{Mutex, MutexGuardArc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::*` [INFO] [stdout] --> bytedata-io/src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use impls::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamState` is never constructed [INFO] [stdout] --> bytedata-io/src/impls/byte_stream.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct StreamState<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteReader` is never constructed [INFO] [stdout] --> bytedata-io/src/impls/byte_stream.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ByteReader<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteWriter` is never constructed [INFO] [stdout] --> bytedata-io/src/impls/byte_stream.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ByteWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StdBuffered` is never constructed [INFO] [stdout] --> bytedata-io/src/std/buffered.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct StdBuffered { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stdout] --> bytedata-io/src/std/buffered.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl StdBuffered { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 10 | #[inline] [INFO] [stdout] 11 | pub const fn new(inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub const fn has_ended(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StdRead` is never constructed [INFO] [stdout] --> bytedata-io/src/std/read.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StdRead { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stdout] --> bytedata-io/src/std/read.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl StdRead { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 13 | #[inline] [INFO] [stdout] 14 | pub const fn new(inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub const fn has_ended(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokioBuffered` is never constructed [INFO] [stdout] --> bytedata-io/src/tokio_1/buffered.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TokioBuffered { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stdout] --> bytedata-io/src/tokio_1/buffered.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl TokioBuffered { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 13 | #[inline] [INFO] [stdout] 14 | pub const fn new(inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub const fn has_ended(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokioRead` is never constructed [INFO] [stdout] --> bytedata-io/src/tokio_1/read.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TokioRead { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stdout] --> bytedata-io/src/tokio_1/read.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl TokioRead { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 14 | #[inline] [INFO] [stdout] 15 | pub const fn new(inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const fn has_ended(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamState` is never constructed [INFO] [stdout] --> bytedata-io/src/impls/byte_stream.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct StreamState<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteReader` is never constructed [INFO] [stdout] --> bytedata-io/src/impls/byte_stream.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ByteReader<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteWriter` is never constructed [INFO] [stdout] --> bytedata-io/src/impls/byte_stream.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ByteWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StdBuffered` is never constructed [INFO] [stdout] --> bytedata-io/src/std/buffered.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct StdBuffered { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stdout] --> bytedata-io/src/std/buffered.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl StdBuffered { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 10 | #[inline] [INFO] [stdout] 11 | pub const fn new(inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub const fn has_ended(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StdRead` is never constructed [INFO] [stdout] --> bytedata-io/src/std/read.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StdRead { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stdout] --> bytedata-io/src/std/read.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl StdRead { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 13 | #[inline] [INFO] [stdout] 14 | pub const fn new(inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub const fn has_ended(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokioBuffered` is never constructed [INFO] [stdout] --> bytedata-io/src/tokio_1/buffered.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TokioBuffered { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stdout] --> bytedata-io/src/tokio_1/buffered.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl TokioBuffered { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 13 | #[inline] [INFO] [stdout] 14 | pub const fn new(inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub const fn has_ended(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokioRead` is never constructed [INFO] [stdout] --> bytedata-io/src/tokio_1/read.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TokioRead { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stdout] --> bytedata-io/src/tokio_1/read.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl TokioRead { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 14 | #[inline] [INFO] [stdout] 15 | pub const fn new(inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const fn has_ended(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bytedata-pattern-macros v0.1.0 (/opt/rustwide/workdir/bytedata-pattern-macros) [INFO] [stdout] warning: unused variable: `capture_groups` [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | capture_groups, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `capture_groups: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | fn parse(mut tokens: VecDeque) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_capture_groups` [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | capture_groups: inner_capture_groups, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_capture_groups` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PatternContext` is never used [INFO] [stdout] --> bytedata-pattern-macros/src/lib.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum PatternContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | Pattern(Span, TokenStream), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 166 - Pattern(Span, TokenStream), [INFO] [stdout] 166 + Pattern((), TokenStream), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capture_groups` [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | capture_groups, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `capture_groups: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | fn parse(mut tokens: VecDeque) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_capture_groups` [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | capture_groups: inner_capture_groups, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_capture_groups` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PatternContext` is never used [INFO] [stdout] --> bytedata-pattern-macros/src/lib.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum PatternContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | Pattern(Span, TokenStream), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 166 - Pattern(Span, TokenStream), [INFO] [stdout] 166 + Pattern((), TokenStream), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capture_groups` [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | capture_groups, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `capture_groups: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | fn parse(mut tokens: VecDeque) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_capture_groups` [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | capture_groups: inner_capture_groups, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_capture_groups` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PatternContext` is never used [INFO] [stdout] --> bytedata-pattern-macros/src/lib.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum PatternContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | Pattern(Span, TokenStream), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 166 - Pattern(Span, TokenStream), [INFO] [stdout] 166 + Pattern((), TokenStream), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bytedata-pattern v0.1.0 (/opt/rustwide/workdir/bytedata-pattern) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.09s [INFO] running `Command { std: "docker" "inspect" "a68b42234544bbf79869924556eae8d5ddccdd1815a5c00231386b93e3039844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a68b42234544bbf79869924556eae8d5ddccdd1815a5c00231386b93e3039844", kill_on_drop: false }` [INFO] [stdout] a68b42234544bbf79869924556eae8d5ddccdd1815a5c00231386b93e3039844