[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 try#943e2200e35c3825486c4671b6cab0107a07f8c1 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TimLuq/bytedata-extra on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-6-tc2/source/bytedata-io/Cargo.toml: unused manifest key: dependencies.tokio_1.defaukt-features [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fb00ceb2f7af4ccd700047772e596e9c24bb37f68f5925453378c2eeb0326eb [INFO] running `Command { std: "docker" "start" "-a" "5fb00ceb2f7af4ccd700047772e596e9c24bb37f68f5925453378c2eeb0326eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fb00ceb2f7af4ccd700047772e596e9c24bb37f68f5925453378c2eeb0326eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fb00ceb2f7af4ccd700047772e596e9c24bb37f68f5925453378c2eeb0326eb", kill_on_drop: false }` [INFO] [stdout] 5fb00ceb2f7af4ccd700047772e596e9c24bb37f68f5925453378c2eeb0326eb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3b393f4f15556013badc8cf91eea3865e8f2a23be1f5d208703b848b3534dd1 [INFO] running `Command { std: "docker" "start" "-a" "c3b393f4f15556013badc8cf91eea3865e8f2a23be1f5d208703b848b3534dd1", 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] Checking bytedata-pattern-core v0.1.0 (/opt/rustwide/workdir/bytedata-pattern-core) [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] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking bytedata-unicode-macros v0.1.0 (/opt/rustwide/workdir/bytedata-unicode-macros) [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: 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: 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 `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: 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-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] [stderr] Checking event-listener v5.4.0 [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 bytedata-charset v0.1.0 (/opt/rustwide/workdir/bytedata-charset) [INFO] [stderr] Checking event-listener-strategy v0.5.4 [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: 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: 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] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> bytedata-pattern-core/tests/simple.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | const VERB_JOIN: Test = Test::join(&[ [INFO] [stdout] | _________________________- ^ [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 7 | || VERB_HELLO, [INFO] [stdout] 8 | || Test::char_class(CharacterClass::Whitespace), [INFO] [stdout] 9 | || VERB_REPEAT, [INFO] [stdout] 10 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> bytedata-pattern-core/tests/simple.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | const VERB_JOIN_EXACT: Test = Test::join(&[ [INFO] [stdout] | _______________________________- ^ [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 12 | || Test::context_class(ContextClass::Start), [INFO] [stdout] 13 | || VERB_HELLO, [INFO] [stdout] 14 | || Test::char_class(CharacterClass::Whitespace), [INFO] [stdout] 15 | || VERB_REPEAT, [INFO] [stdout] 16 | || Test::context_class(ContextClass::End), [INFO] [stdout] 17 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [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] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] error: could not compile `bytedata-pattern-core` (test "simple") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: `#[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: 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: 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: `#[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: 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] [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] running `Command { std: "docker" "inspect" "c3b393f4f15556013badc8cf91eea3865e8f2a23be1f5d208703b848b3534dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b393f4f15556013badc8cf91eea3865e8f2a23be1f5d208703b848b3534dd1", kill_on_drop: false }` [INFO] [stdout] c3b393f4f15556013badc8cf91eea3865e8f2a23be1f5d208703b848b3534dd1