[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] 53fbe9bc4065bb1dd069525e4808dab3bf466f70 [INFO] testing TimLuq/bytedata-extra against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimLuq%2Fbytedata-extra" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/TimLuq/bytedata-extra [INFO] finished tweaking git repo https://github.com/TimLuq/bytedata-extra [INFO] tweaked toml for git repo https://github.com/TimLuq/bytedata-extra written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TimLuq/bytedata-extra on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/bytedata-io/Cargo.toml: unused manifest key: dependencies.tokio_1.defaukt-features [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1afeb7d74ac9e26dc7c76050ac377d6109aae9b829986836129543c11966cb48 [INFO] running `Command { std: "docker" "start" "-a" "1afeb7d74ac9e26dc7c76050ac377d6109aae9b829986836129543c11966cb48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1afeb7d74ac9e26dc7c76050ac377d6109aae9b829986836129543c11966cb48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afeb7d74ac9e26dc7c76050ac377d6109aae9b829986836129543c11966cb48", kill_on_drop: false }` [INFO] [stdout] 1afeb7d74ac9e26dc7c76050ac377d6109aae9b829986836129543c11966cb48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fd403fbee8d081ebdadf871d47c73c699608eca5ab432df229eee7e3dbaad3c [INFO] running `Command { std: "docker" "start" "-a" "0fd403fbee8d081ebdadf871d47c73c699608eca5ab432df229eee7e3dbaad3c", 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 proc-macro2 v1.0.95 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling bytedata v0.1.15 (https://github.com/TimLuq/bytedata.git?branch=main#1516ea33) [INFO] [stderr] Compiling bytedata-unicode v0.1.0 (/opt/rustwide/workdir/bytedata-unicode) [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling bytedata-pattern-core v0.1.0 (/opt/rustwide/workdir/bytedata-pattern-core) [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling quote v1.0.40 [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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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 async-lock v3.4.0 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `camel` and `pascal` are never used [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 214 | impl<'a> MakeIdent<'a> { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 215 | fn camel(s: std::str::Chars<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn pascal(s: std::str::Chars<'a>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-charset/src/detect.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-charset/src/detect.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `avx512_target_feature` has been stable since 1.90.0-nightly 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] [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)]` 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)]` 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: 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)]` 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)]` 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-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)]` 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)]` 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)]` 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 7.01s [INFO] running `Command { std: "docker" "inspect" "0fd403fbee8d081ebdadf871d47c73c699608eca5ab432df229eee7e3dbaad3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fd403fbee8d081ebdadf871d47c73c699608eca5ab432df229eee7e3dbaad3c", kill_on_drop: false }` [INFO] [stdout] 0fd403fbee8d081ebdadf871d47c73c699608eca5ab432df229eee7e3dbaad3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b235e2a381b0d94561c69bad5dbadea64f62444de46faabb0a6c8b9c03f613b5 [INFO] running `Command { std: "docker" "start" "-a" "b235e2a381b0d94561c69bad5dbadea64f62444de46faabb0a6c8b9c03f613b5", 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-unicode-macros v0.1.0 (/opt/rustwide/workdir/bytedata-unicode-macros) [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear`, `set_u8`, and `unset_u8` are never used [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 17 | impl U8Flags { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) const fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) const fn set_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) const fn unset_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-charset/src/detect.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-charset/src/detect.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `avx512_target_feature` has been stable since 1.90.0-nightly 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] [stderr] Compiling bytedata-pattern-core v0.1.0 (/opt/rustwide/workdir/bytedata-pattern-core) [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bytedata-pattern-macros v0.1.0 (/opt/rustwide/workdir/bytedata-pattern-macros) [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)]` 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]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear`, `set_u8`, and `unset_u8` are never used [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 17 | impl U8Flags { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) const fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) const fn set_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) const fn unset_u8(mut self, flag: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: 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)]` 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)]` 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] [stderr] Compiling bytedata-io v0.1.0 (/opt/rustwide/workdir/bytedata-io) [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: 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)]` 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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-pattern-core/src/flags.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[must_use] [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_doc_empty` is never read [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | has_doc_empty = false; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_doc_empty` is never read [INFO] [stdout] --> bytedata-unicode-macros/src/names_list.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | has_doc_empty = false; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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)]` 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: 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)]` 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: 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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bytedata-pattern-macros/src/parse_tokens.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | fn parse(mut tokens: VecDeque) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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)]` 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: 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)]` 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: 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)]` 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: 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: 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)]` 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-unicode v0.1.0 (/opt/rustwide/workdir/bytedata-unicode) [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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-charset/src/detect.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> bytedata-charset/src/detect.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bytedata-pattern v0.1.0 (/opt/rustwide/workdir/bytedata-pattern) [INFO] [stdout] warning: the feature `avx512_target_feature` has been stable since 1.90.0-nightly 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: 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)]` 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)]` 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 4.14s [INFO] running `Command { std: "docker" "inspect" "b235e2a381b0d94561c69bad5dbadea64f62444de46faabb0a6c8b9c03f613b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b235e2a381b0d94561c69bad5dbadea64f62444de46faabb0a6c8b9c03f613b5", kill_on_drop: false }` [INFO] [stdout] b235e2a381b0d94561c69bad5dbadea64f62444de46faabb0a6c8b9c03f613b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3689a91c4c3c978f98548f8bc2bcf8506eec6b6b44557809857e0859cde1c77d [INFO] running `Command { std: "docker" "start" "-a" "3689a91c4c3c978f98548f8bc2bcf8506eec6b6b44557809857e0859cde1c77d", 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]` has no effect when applied to a provided trait method [INFO] [stderr] --> bytedata-pattern-core/src/flags.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stderr] --> bytedata-pattern-core/src/flags.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 180 | const fn run_test(self, mut exec: TestExec<'_>) -> TestExec<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `bytedata-pattern-core` (lib) generated 18 warnings [INFO] [stderr] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stderr] --> bytedata-charset/src/detect.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stderr] --> bytedata-charset/src/detect.rs:224:5 [INFO] [stderr] | [INFO] [stderr] 224 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `avx512_target_feature` has been stable since 1.90.0-nightly 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: 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)]` 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)]` 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 (18 duplicates) [INFO] [stderr] warning: `bytedata-charset` (lib) generated 21 warnings (run `cargo fix --lib -p bytedata-charset` to apply 10 suggestions) [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)]` 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)]` 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)]` 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: `bytedata-charset` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] warning: `bytedata-pattern-core` (lib test) generated 18 warnings (18 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)]` 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)]` 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)]` 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)]` 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)]` 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.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bytedata_charset-755b03c45f4b6516) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test multi_byte::big5::gen_index ... ignored [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bytedata_io-51e8b63dee6d95e3) [INFO] [stdout] test utf16::tests::test_utf16_native ... ok [INFO] [stdout] test utf16::tests::test_utf16_le ... ok [INFO] [stdout] test utf16::tests::test_utf16_be ... ok [INFO] [stdout] test multi_byte::java_utf::tests::test_java_mutf8 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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-acb0d12d9940cb79) [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-ee27fad69d0148a2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running tests/simple.rs (/opt/rustwide/target/debug/deps/simple-145bb5eea37e668e) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test simple_test_join ... ok [INFO] [stdout] test simple_test_charclass ... ok [INFO] [stdout] test simple_test_repeat ... ok [INFO] [stdout] test simple_test_verb ... ok [INFO] [stdout] test simple_test_join_exact ... 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-09770c67ba917018) [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' 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: 0x70b8ae25e652 - std::backtrace_rs::backtrace::libunwind::trace::h5edb72cc539d8d33 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x70b8ae25e652 - std::backtrace_rs::backtrace::trace_unsynchronized::h73d186ef976c5ae2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x70b8ae25e652 - std::sys::backtrace::_print_fmt::h4410012d384fde01 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x70b8ae25e652 - ::fmt::h281a579a27d691d5 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x70b8ae2af293 - core::fmt::rt::Argument::fmt::h4c31bb6a3f4e4ed6 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x70b8ae2af293 - core::fmt::write::hd1f1283e971fbb36 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x70b8ae252453 - std::io::default_write_fmt::h6d6cb3ff48bb6394 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x70b8ae252453 - std::io::Write::write_fmt::h976b7a346c630898 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x70b8ae25e4a2 - std::sys::backtrace::BacktraceLock::print::h7cc2f8a0b7549773 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x70b8ae26217c - std::panicking::default_hook::{{closure}}::hc18f11ca3cc980d1 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x70b8ae261fd2 - std::panicking::default_hook::h5207cd5928e5a9d2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5ba05f5e4fc4 - as core::ops::function::Fn>::call::h53735dbb2fff5e8e [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x5ba05f5e4fc4 - test::test_main_with_exit_callback::{{closure}}::h8629ce54f7c62158 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x70b8ae262ccb - as core::ops::function::Fn>::call::hdd01dfa4f5d59fd2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x70b8ae262ccb - std::panicking::rust_panic_with_hook::he2975323910480e2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x70b8ae26299a - std::panicking::begin_panic_handler::{{closure}}::hf6a73f8f68d2901d [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x70b8ae25eb59 - std::sys::backtrace::__rust_end_short_backtrace::h91c7517b8fba4182 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x70b8ae26262d - __rustc[c30fa7112bbf6ac0]::rust_begin_unwind [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x70b8ae2aa6f0 - core::panicking::panic_fmt::h1dc18eebb9b6550e [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ba05f5f496c - proc_macro2::Punct::new::h0e59f6cdf00b0e9d [INFO] [stdout] 20: 0x5ba05f59b796 - bytedata_unicode_macros::names_list::names_list::h2b550d071512ee61 [INFO] [stdout] at /opt/rustwide/workdir/bytedata-unicode-macros/src/names_list.rs:444:42 [INFO] [stdout] 21: 0x5ba05f59e3eb - bytedata_unicode_macros::names_list::test::test_names_list::hb13c2fcb11efe199 [INFO] [stdout] at /opt/rustwide/workdir/bytedata-unicode-macros/src/names_list.rs:587:22 [INFO] [stdout] 22: 0x5ba05f59e277 - bytedata_unicode_macros::names_list::test::test_names_list::{{closure}}::h35fec8640416225e [INFO] [stdout] at /opt/rustwide/workdir/bytedata-unicode-macros/src/names_list.rs:583:25 [INFO] [stdout] 23: 0x5ba05f5a4516 - core::ops::function::FnOnce::call_once::h40b3de17e43c87be [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ba05f5ea6bb - core::ops::function::FnOnce::call_once::hdd80366119caeff9 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5ba05f5ea6bb - test::__rust_begin_short_backtrace::h60798cb0fdc462bd [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x5ba05f5e993e - test::run_test_in_process::{{closure}}::h81bd62fe0ddb1cae [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x5ba05f5e993e - as core::ops::function::FnOnce<()>>::call_once::h6ee6466477e4c0dc [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5ba05f5e993e - std::panicking::catch_unwind::do_call::h01a79315147a2ca1 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5ba05f5e993e - std::panicking::catch_unwind::h831c87e90ef4f2d8 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5ba05f5e993e - std::panic::catch_unwind::h50e9876bcbc7c37f [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5ba05f5e993e - test::run_test_in_process::hd57ee4367ef533b2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x5ba05f5e993e - test::run_test::{{closure}}::hd180abfe8d10b90d [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5ba05f5ad534 - test::run_test::{{closure}}::hadea4433d10ac366 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5ba05f5ad534 - std::sys::backtrace::__rust_begin_short_backtrace::hb136c48ddd0ced72 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x5ba05f5b0e2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9e392173a704e81a [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5ba05f5b0e2a - as core::ops::function::FnOnce<()>>::call_once::h858a87db574d2ff4 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5ba05f5b0e2a - std::panicking::catch_unwind::do_call::hff7ec4d4a59ca346 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5ba05f5b0e2a - std::panicking::catch_unwind::h74378fed914955a4 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5ba05f5b0e2a - std::panic::catch_unwind::hd644e75c809e87ce [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5ba05f5b0e2a - std::thread::Builder::spawn_unchecked_::{{closure}}::h5c4ce65e6ea67c65 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5ba05f5b0e2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2c391219c93831ae [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x70b8ae2674c7 - as core::ops::function::FnOnce>::call_once::ha02f1268c87bf8cb [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x70b8ae2674c7 - as core::ops::function::FnOnce>::call_once::ha9964535c0565e6a [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x70b8ae2674c7 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6a2768613f757f7 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x70b8adfd1aa4 - [INFO] [stdout] 46: 0x70b8ae05ea34 - clone [INFO] [stdout] 47: 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.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p bytedata-unicode-macros --lib` [INFO] running `Command { std: "docker" "inspect" "3689a91c4c3c978f98548f8bc2bcf8506eec6b6b44557809857e0859cde1c77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3689a91c4c3c978f98548f8bc2bcf8506eec6b6b44557809857e0859cde1c77d", kill_on_drop: false }` [INFO] [stdout] 3689a91c4c3c978f98548f8bc2bcf8506eec6b6b44557809857e0859cde1c77d