[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] testing TimLuq/bytedata-extra against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimLuq%2Fbytedata-extra" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TimLuq/bytedata-extra on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v1.44.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 920a6097fad944fe3c77a3401b87b550fee4a66b7687a98bb7832e6cadf6f2c4 [INFO] running `Command { std: "docker" "start" "-a" "920a6097fad944fe3c77a3401b87b550fee4a66b7687a98bb7832e6cadf6f2c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "920a6097fad944fe3c77a3401b87b550fee4a66b7687a98bb7832e6cadf6f2c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920a6097fad944fe3c77a3401b87b550fee4a66b7687a98bb7832e6cadf6f2c4", kill_on_drop: false }` [INFO] [stdout] 920a6097fad944fe3c77a3401b87b550fee4a66b7687a98bb7832e6cadf6f2c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5da8b69bb1d92ed8c3c0740f662ba10336e1eb9b384d0cc33b04d5856da3b5d [INFO] running `Command { std: "docker" "start" "-a" "e5da8b69bb1d92ed8c3c0740f662ba10336e1eb9b384d0cc33b04d5856da3b5d", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/bytedata-io/Cargo.toml: unused manifest key: dependencies.tokio_1.defaukt-features [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bytedata v0.1.15 (https://github.com/TimLuq/bytedata.git#78f4fb00) [INFO] [stderr] Compiling bytedata-unicode v0.1.0 (/opt/rustwide/workdir/bytedata-unicode) [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling bytedata-unicode-macros v0.1.0 (/opt/rustwide/workdir/bytedata-unicode-macros) [INFO] [stderr] Compiling syn v2.0.101 [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] [stderr] Compiling 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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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] Compiling 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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling concurrent-queue v2.5.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] Compiling event-listener v5.4.0 [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-lock v3.4.0 [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] Compiling 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: 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: 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: 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: 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] Compiling bytedata-pattern v0.1.0 (/opt/rustwide/workdir/bytedata-pattern) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.73s [INFO] running `Command { std: "docker" "inspect" "e5da8b69bb1d92ed8c3c0740f662ba10336e1eb9b384d0cc33b04d5856da3b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5da8b69bb1d92ed8c3c0740f662ba10336e1eb9b384d0cc33b04d5856da3b5d", kill_on_drop: false }` [INFO] [stdout] e5da8b69bb1d92ed8c3c0740f662ba10336e1eb9b384d0cc33b04d5856da3b5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93b9562d339e248c2a8567a904d566eb7146e2b9f371102891ad903049f93207 [INFO] running `Command { std: "docker" "start" "-a" "93b9562d339e248c2a8567a904d566eb7146e2b9f371102891ad903049f93207", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/bytedata-io/Cargo.toml: unused manifest key: dependencies.tokio_1.defaukt-features [INFO] [stderr] Compiling bytedata-pattern-core v0.1.0 (/opt/rustwide/workdir/bytedata-pattern-core) [INFO] [stderr] Compiling bytedata-charset v0.1.0 (/opt/rustwide/workdir/bytedata-charset) [INFO] [stderr] Compiling bytedata-unicode v0.1.0 (/opt/rustwide/workdir/bytedata-unicode) [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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: 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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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: `#[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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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] Compiling bytedata-unicode-macros v0.1.0 (/opt/rustwide/workdir/bytedata-unicode-macros) [INFO] [stderr] Compiling bytedata-pattern-macros v0.1.0 (/opt/rustwide/workdir/bytedata-pattern-macros) [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] [stderr] Compiling bytedata-io v0.1.0 (/opt/rustwide/workdir/bytedata-io) [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: `#[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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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: 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: 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: 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 `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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bytedata-pattern v0.1.0 (/opt/rustwide/workdir/bytedata-pattern) [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] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "93b9562d339e248c2a8567a904d566eb7146e2b9f371102891ad903049f93207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93b9562d339e248c2a8567a904d566eb7146e2b9f371102891ad903049f93207", kill_on_drop: false }` [INFO] [stdout] 93b9562d339e248c2a8567a904d566eb7146e2b9f371102891ad903049f93207 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e8373549c330942a98bcb65cbed63566e42d1b325377adfd98a3b1ab69871a9c [INFO] running `Command { std: "docker" "start" "-a" "e8373549c330942a98bcb65cbed63566e42d1b325377adfd98a3b1ab69871a9c", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/bytedata-io/Cargo.toml: unused manifest key: dependencies.tokio_1.defaukt-features [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> bytedata-pattern-core/src/flags.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> bytedata-pattern-core/src/flags.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: methods `clear`, `set_u8`, and `unset_u8` are never used [INFO] [stderr] --> bytedata-pattern-core/src/flags.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 17 | impl U8Flags { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | pub(crate) const fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub(crate) const fn set_u8(mut self, flag: u8) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub(crate) const fn unset_u8(mut self, flag: u8) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `ExecResult` is never used [INFO] [stderr] --> bytedata-pattern-core/src/exec_state.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) enum ExecResult { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_ok`, `is_err`, and `is_set` are never used [INFO] [stderr] --> bytedata-pattern-core/src/exec_state.rs:14:25 [INFO] [stderr] | [INFO] [stderr] 11 | impl U8Flags { [INFO] [stderr] | ------------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 14 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub(crate) const fn is_err(self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub(crate) const fn is_set(self, flag: ExecResult) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_flags` is never used [INFO] [stderr] --> bytedata-pattern-core/src/exec_state.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 29 | impl ExecResult { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 30 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ExecFlag` is never used [INFO] [stderr] --> bytedata-pattern-core/src/exec_state.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 37 | pub(crate) enum ExecFlag { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_ok`, `is_err`, `set`, `unset`, and `is_set` are never used [INFO] [stderr] --> bytedata-pattern-core/src/exec_state.rs:44:25 [INFO] [stderr] | [INFO] [stderr] 42 | impl U8Flags { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] 43 | #[inline] [INFO] [stderr] 44 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub(crate) const fn is_err(self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub(crate) const fn set(&mut self, flag: ExecFlag) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | pub(crate) const fn unset(&mut self, flag: ExecFlag) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | pub(crate) const fn is_set(self, flag: ExecFlag) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_flags` is never used [INFO] [stderr] --> bytedata-pattern-core/src/exec_state.rs:67:25 [INFO] [stderr] | [INFO] [stderr] 66 | impl ExecFlag { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 67 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TestExec` is never constructed [INFO] [stderr] --> bytedata-pattern-core/src/exec_state.rs:73:19 [INFO] [stderr] | [INFO] [stderr] 73 | pub(crate) struct TestExec<'e> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_ok` and `is_err` are never used [INFO] [stderr] --> bytedata-pattern-core/src/exec_state.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 80 | impl TestExec<'_> { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 83 | pub(crate) const fn is_ok(&self) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub(crate) const fn is_err(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> bytedata-pattern-core/src/exec_state.rs:94:25 [INFO] [stderr] | [INFO] [stderr] 93 | impl<'a> TestExec<'a> { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 94 | pub(crate) const fn new(chunk: &'a [u8], offset: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_ok`, `is_err`, and `is_set` are never used [INFO] [stderr] --> bytedata-pattern-core/src/test_exec.rs:14:25 [INFO] [stderr] | [INFO] [stderr] 11 | impl U8Flags { [INFO] [stderr] | ------------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 14 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub(crate) const fn is_err(self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub(crate) const fn is_set(self, flag: ExecResult) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_flags` is never used [INFO] [stderr] --> bytedata-pattern-core/src/test_exec.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 29 | impl ExecResult { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 30 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_ok` and `is_err` are never used [INFO] [stderr] --> bytedata-pattern-core/src/test_exec.rs:44:25 [INFO] [stderr] | [INFO] [stderr] 42 | impl U8Flags { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] 43 | #[inline] [INFO] [stderr] 44 | pub(crate) const fn is_ok(self) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub(crate) const fn is_err(self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_flags` is never used [INFO] [stderr] --> bytedata-pattern-core/src/test_exec.rs:67:25 [INFO] [stderr] | [INFO] [stderr] 66 | impl ExecFlag { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 67 | pub(crate) const fn as_flags(self) -> U8Flags { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_ok` and `is_err` are never used [INFO] [stderr] --> bytedata-pattern-core/src/test_exec.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 80 | impl TestExec<'_> { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 83 | pub(crate) const fn is_ok(&self) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub(crate) const fn is_err(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> bytedata-pattern-core/src/test.rs:180:48 [INFO] [stderr] | [INFO] [stderr] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec { [INFO] [stderr] | ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> bytedata-charset/src/detect.rs:176:58 [INFO] [stderr] | [INFO] [stderr] 176 | pub const fn select_const(bytes: &[u8]) -> (&'static (dyn crate::CharsetRef), DetectionResult) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 176 - pub const fn select_const(bytes: &[u8]) -> (&'static (dyn crate::CharsetRef), DetectionResult) { [INFO] [stderr] 176 + pub const fn select_const(bytes: &[u8]) -> (&'static dyn crate::CharsetRef, DetectionResult) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> bytedata-charset/src/detect.rs:222:29 [INFO] [stderr] | [INFO] [stderr] 222 | type Charset = &'static (dyn crate::CharsetRef); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 222 - type Charset = &'static (dyn crate::CharsetRef); [INFO] [stderr] 222 + type Charset = &'static dyn crate::CharsetRef; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the feature `avx512_target_feature` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stderr] --> bytedata-charset/src/lib.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | feature(avx512_target_feature, stdarch_x86_avx512) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `stdarch_x86_avx512` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stderr] --> bytedata-charset/src/lib.rs:6:36 [INFO] [stderr] | [INFO] [stderr] 6 | feature(avx512_target_feature, stdarch_x86_avx512) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> bytedata-charset/src/detect.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> bytedata-charset/src/detect.rs:224:5 [INFO] [stderr] | [INFO] [stderr] 224 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gbk` [INFO] [stderr] --> bytedata-charset/src/multi_byte/gb18030/mod.rs:141:29 [INFO] [stderr] | [INFO] [stderr] 141 | const fn detect_const_inner(gbk: bool, mut bytes: &[u8]) -> crate::detect::DetectionResult { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_gbk` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> bytedata-charset/src/multi_byte/big5/mod.rs:120:29 [INFO] [stderr] | [INFO] [stderr] 120 | const fn detect_const_inner(bytes: &[u8]) -> crate::detect::DetectionResult { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: static `BIG5_CP` is never used [INFO] [stderr] --> bytedata-charset/src/multi_byte/big5/big5_cp.rs:4:19 [INFO] [stderr] | [INFO] [stderr] 4 | pub(super) static BIG5_CP: [char; 18840] = [ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> bytedata-charset/src/lib.rs:156:1 [INFO] [stderr] | [INFO] [stderr] 156 | pub mod multi_byte; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> bytedata-charset/src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | missing_docs, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> bytedata-charset/src/lib.rs:160:1 [INFO] [stderr] | [INFO] [stderr] 160 | pub mod single_byte; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> bytedata-charset/src/ascii7.rs:262:18 [INFO] [stderr] | [INFO] [stderr] 262 | let ch = core::mem::transmute::(ch); [INFO] [stderr] | ---------------------------------^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `char::from_u32_unchecked` [INFO] [stderr] | [INFO] [stderr] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> bytedata-charset/src/utf16.rs:144:48 [INFO] [stderr] | [INFO] [stderr] 144 | return DecodeResult::Char(unsafe { ::core::mem::transmute::(base) }, 2); [INFO] [stderr] | -----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `char::from_u32_unchecked` [INFO] [stderr] | [INFO] [stderr] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> bytedata-charset/src/utf16.rs:236:48 [INFO] [stderr] | [INFO] [stderr] 236 | return DecodeResult::Char(unsafe { ::core::mem::transmute::(base) }, 2); [INFO] [stderr] | -----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `char::from_u32_unchecked` [INFO] [stderr] | [INFO] [stderr] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> bytedata-charset/src/utf16.rs:695:27 [INFO] [stderr] | [INFO] [stderr] 695 | Some(unsafe { core::mem::transmute::(self.0 as u32) }) [INFO] [stderr] | ---------------------------------^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `char::from_u32_unchecked` [INFO] [stderr] | [INFO] [stderr] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> bytedata-charset/src/utf16.rs:814:42 [INFO] [stderr] | [INFO] [stderr] 814 | let codepoint = unsafe { core::mem::transmute::(high as u32) }; [INFO] [stderr] | ---------------------------------^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `char::from_u32_unchecked` [INFO] [stderr] | [INFO] [stderr] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> bytedata-charset/src/utf16.rs:833:22 [INFO] [stderr] | [INFO] [stderr] 833 | unsafe { core::mem::transmute::(uc) } [INFO] [stderr] | ---------------------------------^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `char::from_u32_unchecked` [INFO] [stderr] | [INFO] [stderr] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> bytedata-charset/src/utf16.rs:876:42 [INFO] [stderr] | [INFO] [stderr] 876 | let codepoint = unsafe { core::mem::transmute::(high as u32) }; [INFO] [stderr] | ---------------------------------^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `char::from_u32_unchecked` [INFO] [stderr] | [INFO] [stderr] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> bytedata-charset/src/utf16.rs:895:22 [INFO] [stderr] | [INFO] [stderr] 895 | unsafe { core::mem::transmute::(uc) } [INFO] [stderr] | ---------------------------------^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `char::from_u32_unchecked` [INFO] [stderr] | [INFO] [stderr] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> bytedata-charset/src/utf16.rs:1141:27 [INFO] [stderr] | [INFO] [stderr] 1141 | Some(unsafe { core::mem::transmute::(uc) }) [INFO] [stderr] | ---------------------------------^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `char::from_u32_unchecked` [INFO] [stderr] | [INFO] [stderr] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> bytedata-charset/src/utf16.rs:1168:27 [INFO] [stderr] | [INFO] [stderr] 1168 | Some(unsafe { core::mem::transmute::(uc) }) [INFO] [stderr] | ---------------------------------^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `char::from_u32_unchecked` [INFO] [stderr] | [INFO] [stderr] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> bytedata-charset/src/decode_stream.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct DecodeStream<'a, C, S> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a trait [INFO] [stderr] --> bytedata-charset/src/decode_stream.rs:218:1 [INFO] [stderr] | [INFO] [stderr] 218 | pub trait DecodeStreamRead { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bytedata-pattern-core` (lib) generated 18 warnings (run `cargo fix --lib -p bytedata-pattern-core` to apply 3 suggestions) [INFO] [stderr] warning: `bytedata-pattern-core` (lib) generated 18 warnings (18 duplicates) [INFO] [stderr] warning: `bytedata-charset` (lib) generated 23 warnings (run `cargo fix --lib -p bytedata-charset` to apply 14 suggestions) [INFO] [stderr] warning: `bytedata-charset` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] warning: `bytedata-pattern-core` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] warning: value assigned to `has_doc_empty` is never read [INFO] [stderr] --> bytedata-unicode-macros/src/names_list.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | has_doc_empty = false; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `depth` is never read [INFO] [stderr] --> bytedata-unicode-macros/src/names_list.rs:426:25 [INFO] [stderr] | [INFO] [stderr] 426 | depth = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: method `is_empty` is never used [INFO] [stderr] --> bytedata-unicode-macros/src/names_list.rs:158:14 [INFO] [stderr] | [INFO] [stderr] 148 | impl CharBuf { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 158 | const fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `camel` and `pascal` are never used [INFO] [stderr] --> bytedata-unicode-macros/src/names_list.rs:215:8 [INFO] [stderr] | [INFO] [stderr] 214 | impl<'a> MakeIdent<'a> { [INFO] [stderr] | ---------------------- associated functions in this implementation [INFO] [stderr] 215 | fn camel(s: std::str::Chars<'a>) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 219 | fn pascal(s: std::str::Chars<'a>) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> bytedata-unicode-macros/src/names_list.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 123 | panic!("{msg} (location = {file_path}:{line_count}, context = {context:?})"); [INFO] [stderr] | ---------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stderr] 124 | [INFO] [stderr] 125 | / TokenStream::from_iter([ [INFO] [stderr] 126 | | TokenTree::Ident(Ident::new("compile_error", Span::call_site())), [INFO] [stderr] 127 | | TokenTree::Punct(Punct::new('!', Spacing::Alone)), [INFO] [stderr] 128 | | TokenTree::Literal(Literal::string(&format!( [INFO] [stderr] 129 | | "{msg} (location = {file_path}:{line_count}, context = {context:?})" [INFO] [stderr] 130 | | ))), [INFO] [stderr] 131 | | ]) [INFO] [stderr] | |______^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `bytedata-unicode-macros` (lib) generated 4 warnings [INFO] [stderr] warning: `bytedata-unicode-macros` (lib test) generated 5 warnings (4 duplicates) [INFO] [stderr] warning: unused variable: `capture_groups` [INFO] [stderr] --> bytedata-pattern-macros/src/parse_tokens.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | capture_groups, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try ignoring the field: `capture_groups: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inner_capture_groups` [INFO] [stderr] --> bytedata-pattern-macros/src/parse_tokens.rs:111:37 [INFO] [stderr] | [INFO] [stderr] 111 | capture_groups: inner_capture_groups, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_capture_groups` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> bytedata-pattern-macros/src/parse_tokens.rs:83:10 [INFO] [stderr] | [INFO] [stderr] 83 | fn parse(mut tokens: VecDeque) -> Result { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `PatternContext` is never used [INFO] [stderr] --> bytedata-pattern-macros/src/lib.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | enum PatternContext { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> bytedata-pattern-macros/src/parse_tokens.rs:166:13 [INFO] [stderr] | [INFO] [stderr] 166 | Pattern(Span, TokenStream), [INFO] [stderr] | ------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 166 - Pattern(Span, TokenStream), [INFO] [stderr] 166 + Pattern((), TokenStream), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `bytedata-pattern-macros` (lib) generated 5 warnings (run `cargo fix --lib -p bytedata-pattern-macros` to apply 1 suggestion) [INFO] [stderr] warning: `bytedata-pattern-macros` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: unused import: `MutexGuardArc` [INFO] [stderr] --> bytedata-io/src/impls/byte_stream.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use async_lock::{Mutex, MutexGuardArc}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `impls::*` [INFO] [stderr] --> bytedata-io/src/lib.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use impls::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StreamState` is never constructed [INFO] [stderr] --> bytedata-io/src/impls/byte_stream.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | struct StreamState<'a> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ByteReader` is never constructed [INFO] [stderr] --> bytedata-io/src/impls/byte_stream.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct ByteReader<'a> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ByteWriter` is never constructed [INFO] [stderr] --> bytedata-io/src/impls/byte_stream.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct ByteWriter<'a> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StdBuffered` is never constructed [INFO] [stderr] --> bytedata-io/src/std/buffered.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct StdBuffered { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stderr] --> bytedata-io/src/std/buffered.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 9 | impl StdBuffered { [INFO] [stderr] | ---------------------------------------- associated items in this implementation [INFO] [stderr] 10 | #[inline] [INFO] [stderr] 11 | pub const fn new(inner: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub const fn has_ended(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StdRead` is never constructed [INFO] [stderr] --> bytedata-io/src/std/read.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct StdRead { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stderr] --> bytedata-io/src/std/read.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 12 | impl StdRead { [INFO] [stderr] | --------------------------------- associated items in this implementation [INFO] [stderr] 13 | #[inline] [INFO] [stderr] 14 | pub const fn new(inner: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub const fn has_ended(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TokioBuffered` is never constructed [INFO] [stderr] --> bytedata-io/src/tokio_1/buffered.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct TokioBuffered { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stderr] --> bytedata-io/src/tokio_1/buffered.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 12 | impl TokioBuffered { [INFO] [stderr] | -------------------------------------- associated items in this implementation [INFO] [stderr] 13 | #[inline] [INFO] [stderr] 14 | pub const fn new(inner: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub const fn has_ended(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TokioRead` is never constructed [INFO] [stderr] --> bytedata-io/src/tokio_1/read.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct TokioRead { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `has_ended`, `buffered`, and `buffered_mut` are never used [INFO] [stderr] --> bytedata-io/src/tokio_1/read.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 13 | impl TokioRead { [INFO] [stderr] | ------------------------------- associated items in this implementation [INFO] [stderr] 14 | #[inline] [INFO] [stderr] 15 | pub const fn new(inner: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | pub const fn has_ended(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub const fn buffered(&self) -> &ByteQueue<'static> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub const fn buffered_mut(&mut self) -> &mut ByteQueue<'static> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bytedata-io` (lib) generated 13 warnings (run `cargo fix --lib -p bytedata-io` to apply 2 suggestions) [INFO] [stderr] warning: `bytedata-io` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bytedata_charset-4bf7132ffd76a846) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test multi_byte::big5::gen_index ... ignored [INFO] [stdout] test multi_byte::java_utf::tests::test_java_mutf8 ... ok [INFO] [stdout] test utf16::tests::test_utf16_native ... ok [INFO] [stdout] test utf16::tests::test_utf16_be ... ok [INFO] [stdout] test utf16::tests::test_utf16_le ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bytedata_io-4c9ab8120ac29e19) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bytedata_pattern-1fc1b7654b4ed5d5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bytedata_pattern_core-ef67d8a024072157) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/simple.rs (/opt/rustwide/target/debug/deps/simple-f9c8989205ecc669) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test simple_test_charclass ... ok [INFO] [stdout] test simple_test_join ... ok [INFO] [stdout] test simple_test_join_exact ... ok [INFO] [stdout] test simple_test_repeat ... ok [INFO] [stdout] test simple_test_verb ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bytedata_pattern_macros-c0ec2dce8ea1595f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bytedata_unicode-04beb0fccc27592a) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bytedata_unicode_macros-042c3b637c8d3a41) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test names_list::test::test_names_list ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- names_list::test::test_names_list stdout ---- [INFO] [stdout] Skipping line: [0] "@@@\tThe Unicode Standard 15.1.0" [INFO] [stdout] Skipping line: [0] "@@@+\tU15M230728.lst" [INFO] [stdout] Skipping line: [0] "\tUnicode 15.1.0 final names list." [INFO] [stdout] Skipping line: [0] "\tThis file is semi-automatically derived from UnicodeData.txt and" [INFO] [stdout] Skipping line: [0] "\ta set of manually created annotations using a script to select" [INFO] [stdout] Skipping line: [0] "\tor suppress information from the data file. The rules used" [INFO] [stdout] Skipping line: [0] "\tfor this process are aimed at readability for the human reader," [INFO] [stdout] Skipping line: [0] "\tat the expense of some details; therefore, this file should not" [INFO] [stdout] Skipping line: [0] "\tbe parsed for machine-readable information." [INFO] [stdout] Skipping line: [0] "\tFor terms of use, see https://www.unicode.org/terms_of_use.html" [INFO] [stdout] [INFO] [stdout] thread 'names_list::test::test_names_list' (43) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.95/src/lib.rs:813:13: [INFO] [stdout] unsupported proc macro punctuation character '[' [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x745e2f565152 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x745e2f565152 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x745e2f565152 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x745e2f565152 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x745e2f5964df - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x745e2f5964df - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x745e2f5173d3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x745e2f5173d3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x745e2f52c0e2 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x745e2f53443a - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x745e2f5342cc - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5a90c4c43abe - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stderr] error: test failed, to rerun pass `-p bytedata-unicode-macros --lib` [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5a90c4c43abe - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x745e2f534b7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x745e2f534b7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x745e2f53489a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x745e2f52c219 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x745e2f50855d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x745e2f5a6c20 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5a90c4c6c5fc - proc_macro2::Punct::new::h82a6a3156b4a922f [INFO] [stdout] 20: 0x5a90c4c0c155 - bytedata_unicode_macros::names_list::names_list::h3bf52387f841e503 [INFO] [stdout] at /opt/rustwide/workdir/bytedata-unicode-macros/src/names_list.rs:444:42 [INFO] [stdout] 21: 0x5a90c4c1de3b - bytedata_unicode_macros::names_list::test::test_names_list::h9e9278fed296e1d1 [INFO] [stdout] at /opt/rustwide/workdir/bytedata-unicode-macros/src/names_list.rs:587:22 [INFO] [stdout] 22: 0x5a90c4c1df57 - bytedata_unicode_macros::names_list::test::test_names_list::{{closure}}::h747c160059b00027 [INFO] [stdout] at /opt/rustwide/workdir/bytedata-unicode-macros/src/names_list.rs:583:25 [INFO] [stdout] 23: 0x5a90c4c1eee6 - core::ops::function::FnOnce::call_once::h66553c778ee480eb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5a90c4c438bb - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5a90c4c438bb - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5a90c4c59365 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5a90c4c59365 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5a90c4c59365 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5a90c4c59365 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5a90c4c59365 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5a90c4c59365 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5a90c4c59365 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5a90c4c2fd84 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5a90c4c2fd84 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5a90c4c3366a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5a90c4c3366a - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5a90c4c3366a - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5a90c4c3366a - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5a90c4c3366a - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5a90c4c3366a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5a90c4c3366a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x745e2f524ebf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x745e2f524ebf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x745e2f2bcaa4 - [INFO] [stdout] 45: 0x745e2f349a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] names_list::test::test_names_list [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e8373549c330942a98bcb65cbed63566e42d1b325377adfd98a3b1ab69871a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8373549c330942a98bcb65cbed63566e42d1b325377adfd98a3b1ab69871a9c", kill_on_drop: false }` [INFO] [stdout] e8373549c330942a98bcb65cbed63566e42d1b325377adfd98a3b1ab69871a9c