[INFO] cloning repository https://github.com/EqualMa/cjson [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EqualMa/cjson" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEqualMa%2Fcjson", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEqualMa%2Fcjson'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a32399087e8212682c99820d188d0bf8b934e78 [INFO] testing EqualMa/cjson against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEqualMa%2Fcjson" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/EqualMa/cjson [INFO] finished tweaking git repo https://github.com/EqualMa/cjson [INFO] tweaked toml for git repo https://github.com/EqualMa/cjson written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EqualMa/cjson on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/EqualMa/cjson 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9c3fb474665b5b9650cec6685ea1d2f2ede86293e7ba6602a9b464db7a38d52b [INFO] running `Command { std: "docker" "start" "9c3fb474665b5b9650cec6685ea1d2f2ede86293e7ba6602a9b464db7a38d52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c3fb474665b5b9650cec6685ea1d2f2ede86293e7ba6602a9b464db7a38d52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c3fb474665b5b9650cec6685ea1d2f2ede86293e7ba6602a9b464db7a38d52b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c3fb474665b5b9650cec6685ea1d2f2ede86293e7ba6602a9b464db7a38d52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c3fb474665b5b9650cec6685ea1d2f2ede86293e7ba6602a9b464db7a38d52b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling find-msvc-tools v0.1.11 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling bitflags v2.13.1 [INFO] [stderr] Compiling typed-quote v0.1.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling never-say-never v6.6.666 [INFO] [stderr] Compiling const-zmij v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling higher-kinded-types v0.1.1 [INFO] [stderr] Compiling fastrand v2.5.0 [INFO] [stderr] Compiling polonius-the-crab v0.4.2 [INFO] [stderr] Compiling data-encoding v2.11.1 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling const-itoa v0.1.0 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v3.0.4 [INFO] [stderr] Compiling cjson-proc-macro v0.1.0 (/opt/rustwide/workdir/packages/cjson-proc-macro) [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Group` and `Punct` [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Delimiter, Group, Ident, Punct, Span, TokenStream, TokenTree}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Group` and `Punct` [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Delimiter, Group, Ident, Punct, Span, TokenStream, TokenTree}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson-proc-macro/src/utils.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> packages/cjson-proc-macro/src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `mem::ManuallyDrop`, `process::Output`, and `self` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mem::ManuallyDrop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ops::{self, Add, Deref}, [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] 7 | process::Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson-proc-macro/src/utils.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> packages/cjson-proc-macro/src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `mem::ManuallyDrop`, `process::Output`, and `self` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mem::ManuallyDrop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ops::{self, Add, Deref}, [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] 7 | process::Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use typed_quote::{Either, IntoTokens, ToTokens, WithSpan, maybe_span::MaybeSpan as _, quote}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Ident, Span, TokenTree}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PunctEq` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{ConsumedTokens, MetaAfterPath, ParseError, PunctEq}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta_utils.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Span, TokenTree}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoTokens` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use typed_quote::{IntoTokenTree, IntoTokens, WithSpan, quote}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokensExpanded` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | to_json::ctx::custom::{CustomTokensExpanded, TokensExpanded}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use typed_quote::{Either, IntoTokens, ToTokens, WithSpan, maybe_span::MaybeSpan as _, quote}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Ident, Span, TokenTree}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PunctEq` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{ConsumedTokens, MetaAfterPath, ParseError, PunctEq}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta_utils.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Span, TokenTree}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoTokens` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use typed_quote::{IntoTokenTree, IntoTokens, WithSpan, quote}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokensExpanded` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | to_json::ctx::custom::{CustomTokensExpanded, TokensExpanded}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomTokens`, `PropExpandedWithErr`, and `PropExpanded` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | CustomTokens, CustomTokensExpandErrorOr, HasConstCircularRefMsg, IntoParseErrorWithSpan, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | PropExpanded, PropExpandedWithErr, StructToDefaultExpandError, TryWithOutSpan as _, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomTokensExpanded`, `HasConstCircularRefMsg`, `PropExpandedWithErr`, `PropExpanded`, `context_with_prop_to::StructToUnspecifiedExpandError`, and `field::ContextSupportsField` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | CustomTokensExpandErrorOr, EqValue, HasConstCircularRefMsg, PropExpanded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 14 | PropExpandedWithErr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | bracket_star::ContextSupportsAtBracketStar, [INFO] [stdout] 16 | context_with_prop_to::StructToUnspecifiedExpandError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | context_with_prop_to_tagged_default::ToInternallyTaggedDefaultWith, [INFO] [stdout] 18 | custom::{CustomTokensExpanded, TokensExpanded}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | field::ContextSupportsField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextWithPropToDefault`, `ContextWithPropToTaggedDefault`, `StructToExpandError`, `StructToTaggedKvsExpandError`, `custom::PropDefaultCustom`, and `only_field` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | context_with_prop_to::{ContextWithPropTo, StructToExpandError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | context_with_prop_to_default::{CalcToUntaggedDefault, ContextWithPropToDefault}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | context_with_prop_to_tagged_default::{ [INFO] [stdout] 35 | CacheForToInternallyTaggedDefault, CalcToTaggedKvsDefault, ContextWithPropToTaggedDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | StructToTaggedKvsDefaultExpandError, StructToTaggedKvsExpandError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | }, [INFO] [stdout] 38 | custom::PropDefaultCustom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | only_field, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomTokens`, `PropExpandedWithErr`, and `PropExpanded` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | CustomTokens, CustomTokensExpandErrorOr, HasConstCircularRefMsg, IntoParseErrorWithSpan, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | PropExpanded, PropExpandedWithErr, StructToDefaultExpandError, TryWithOutSpan as _, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomTokensExpanded`, `HasConstCircularRefMsg`, `PropExpandedWithErr`, `PropExpanded`, `context_with_prop_to::StructToUnspecifiedExpandError`, and `field::ContextSupportsField` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | CustomTokensExpandErrorOr, EqValue, HasConstCircularRefMsg, PropExpanded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 14 | PropExpandedWithErr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | bracket_star::ContextSupportsAtBracketStar, [INFO] [stdout] 16 | context_with_prop_to::StructToUnspecifiedExpandError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | context_with_prop_to_tagged_default::ToInternallyTaggedDefaultWith, [INFO] [stdout] 18 | custom::{CustomTokensExpanded, TokensExpanded}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | field::ContextSupportsField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextWithPropToDefault`, `ContextWithPropToTaggedDefault`, `StructToExpandError`, `StructToTaggedKvsExpandError`, `custom::PropDefaultCustom`, and `only_field` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | context_with_prop_to::{ContextWithPropTo, StructToExpandError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | context_with_prop_to_default::{CalcToUntaggedDefault, ContextWithPropToDefault}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | context_with_prop_to_tagged_default::{ [INFO] [stdout] 35 | CacheForToInternallyTaggedDefault, CalcToTaggedKvsDefault, ContextWithPropToTaggedDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | StructToTaggedKvsDefaultExpandError, StructToTaggedKvsExpandError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | }, [INFO] [stdout] 38 | custom::PropDefaultCustom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | only_field, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Compiling cc v1.4.4 [INFO] [stdout] warning: unused import: `ContextWithPropTo` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | context_with_prop_to::{ContextWithPropTo, StructToExpandError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1132:31 [INFO] [stdout] | [INFO] [stdout] 1132 | Some(TokenTree::Group(g)) => MetaAfterPath::Group(g), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextWithPropTo` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | context_with_prop_to::{ContextWithPropTo, StructToExpandError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1132:31 [INFO] [stdout] | [INFO] [stdout] 1132 | Some(TokenTree::Group(g)) => MetaAfterPath::Group(g), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix_span` and `block` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 570 | Const { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 571 | prefix_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 572 | block: TokenTree, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix_span` and `paren_expr` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 574 | Runtime { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 575 | prefix_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 576 | paren_expr: TokenTree, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultExt` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait ResultExt: Into> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultWithPayload` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait ResultWithPayload: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_unwrap_payload` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub trait TryUnwrapPayload { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 75 | fn try_unwrap_payload(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParsingTokenStreamCow` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | pub type ParsingTokenStreamCow<'a> = ParsingTokenStream>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 329 | impl TokenStreamCow<'_> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 344 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IterTokenTreeCow` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 356 | pub trait IterTokenTreeCow {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_expect_err` and `parse_where_clause` are never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:431:8 [INFO] [stdout] | [INFO] [stdout] 390 | impl ParsingTokenStream { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 431 | fn make_expect_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | pub fn parse_where_clause( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vis` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1110:9 [INFO] [stdout] | [INFO] [stdout] 1109 | pub struct ParseItemStart { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 1110 | pub vis: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pub` and `paren` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1203:5 [INFO] [stdout] | [INFO] [stdout] 1202 | pub struct SomeVisibility { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 1203 | r#pub: IdentPub, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1204 | paren: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_tokens` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1208:12 [INFO] [stdout] | [INFO] [stdout] 1207 | impl SomeVisibility { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 1208 | pub fn into_tokens(self) -> impl IntoTokens { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `group` and `kind` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1217:5 [INFO] [stdout] | [INFO] [stdout] 1216 | pub struct SomeVisibilityParen { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 1217 | group: GroupParen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1218 | kind: SomeVisibilityParenKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1250:11 [INFO] [stdout] | [INFO] [stdout] 1250 | Crate(IdentCrate), [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] 1250 - Crate(IdentCrate), [INFO] [stdout] 1250 + Crate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1251:11 [INFO] [stdout] | [INFO] [stdout] 1251 | Self_(IdentSelf), [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] 1251 - Self_(IdentSelf), [INFO] [stdout] 1251 + Self_(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1252:11 [INFO] [stdout] | [INFO] [stdout] 1252 | Super(IdentSuper), [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] 1252 - Super(IdentSuper), [INFO] [stdout] 1252 + Super(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1253:8 [INFO] [stdout] | [INFO] [stdout] 1253 | In(IdentIn, proc_macro::token_stream::IntoIter), [INFO] [stdout] | -- ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 1253 - In(IdentIn, proc_macro::token_stream::IntoIter), [INFO] [stdout] 1253 + In((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unexpected_eof_after` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1350:8 [INFO] [stdout] | [INFO] [stdout] 1349 | impl ParseError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 1350 | fn unexpected_eof_after(after: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1437:23 [INFO] [stdout] | [INFO] [stdout] 1437 | pub struct PunctPound(Punct); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1443:23 [INFO] [stdout] | [INFO] [stdout] 1443 | pub struct PunctColon(Punct); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1445:22 [INFO] [stdout] | [INFO] [stdout] 1445 | pub struct PunctSemi(Punct); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `span` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1448:12 [INFO] [stdout] | [INFO] [stdout] 1447 | impl PunctSemi { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 1448 | pub fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1472:21 [INFO] [stdout] | [INFO] [stdout] 1472 | pub struct IdentPub(Ident); [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1474:23 [INFO] [stdout] | [INFO] [stdout] 1474 | pub struct IdentCrate(Ident); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1476:22 [INFO] [stdout] | [INFO] [stdout] 1476 | pub struct IdentSelf(Ident); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1478:23 [INFO] [stdout] | [INFO] [stdout] 1478 | pub struct IdentSuper(Ident); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1480:20 [INFO] [stdout] | [INFO] [stdout] 1480 | pub struct IdentIn(Ident); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vis` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1536:9 [INFO] [stdout] | [INFO] [stdout] 1535 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 1536 | pub vis: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1549:32 [INFO] [stdout] | [INFO] [stdout] 1549 | Paren { paren: GroupParen, semi: PunctSemi }, [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1551:10 [INFO] [stdout] | [INFO] [stdout] 1551 | Semi(PunctSemi), [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] 1551 - Semi(PunctSemi), [INFO] [stdout] 1551 + Semi(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_token_stream` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1555:12 [INFO] [stdout] | [INFO] [stdout] 1554 | impl StructData { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 1555 | pub fn into_token_stream(self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_eof` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1818:12 [INFO] [stdout] | [INFO] [stdout] 1798 | impl<'a> ParsingAfterConsumedTokens<'a> { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1818 | pub fn expect_eof(&self) -> Result<(), ParseError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Type` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1937:12 [INFO] [stdout] | [INFO] [stdout] 1937 | pub struct Type(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MatchBytes` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/ident_eq.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait MatchBytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_slice_or_truncated` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/ident_eq.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 72 | impl IdentToBuf { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub const fn as_slice_or_truncated(&self) -> Result<&[u8], &[u8; N]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/item.rs:979:5 [INFO] [stdout] | [INFO] [stdout] 978 | pub struct GroupMaybeFromEq { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 979 | eq: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContextOfStructField` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:179:6 [INFO] [stdout] | [INFO] [stdout] 179 | type ContextOfStructField<'a> = field::ContextOfField<&'a mut ContextOfStruct>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructFieldToDefault` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:420:8 [INFO] [stdout] | [INFO] [stdout] 420 | struct StructFieldToDefault; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take_for_calculating` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:533:8 [INFO] [stdout] | [INFO] [stdout] 529 | impl MaybeCalculating { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 533 | fn take_for_calculating(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `CIRCULAR_REF` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:642:11 [INFO] [stdout] | [INFO] [stdout] 641 | impl CustomTokensExpandErrorOr { [INFO] [stdout] | ------------------------------------------------------------ associated constant in this implementation [INFO] [stdout] 642 | const CIRCULAR_REF: Self = Self::Custom(CustomTokensExpandError::CircularRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mut_deref` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/field.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 77 | impl<'a, Ctx: ?Sized + ContextSupportsField> ContextOfField<&'a mut &mut Ctx> { [INFO] [stdout] | ----------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 78 | pub(super) fn mut_deref(self) -> ContextOfField<&'a mut Ctx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/field.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl ContextOfField { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 95 | pub(super) fn as_mut(&mut self) -> ContextOfField<&mut Ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span_tag` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_tag.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | Tagged { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 33 | span_tag: Span, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_expand_to_tagged_kvs_default` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to_tagged_default.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ContextWithPropToTaggedDefault: Sized + ToInternallyTaggedDefaultWith { [INFO] [stdout] | ------------------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 173 | fn try_expand_to_tagged_kvs_default( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `expand_default` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/custom.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl PropDefaultCustom> { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn expand_default<'a, Ctx>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct SpecifiedTagMode { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 74 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecifiedTagMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `only_field_index` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 255 | only_field_index: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContextOfEnumVariantField` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:426:6 [INFO] [stdout] | [INFO] [stdout] 426 | type ContextOfEnumVariantField<'a> = field::ContextOfField>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EnumToExpandError` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1450:6 [INFO] [stdout] | [INFO] [stdout] 1450 | enum EnumToExpandError {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1517:8 [INFO] [stdout] | [INFO] [stdout] 1516 | impl<'a> ContextAtBracketQuestionOfEnumItemTo<'a> { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] 1517 | fn as_mut(&mut self) -> ContextAtBracketQuestionOfEnumItemTo<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `question_span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1529:5 [INFO] [stdout] | [INFO] [stdout] 1527 | pub struct ContextAtBracketQuestionInsideBracketStarOfEnumItemTo<'a, 'star> { [INFO] [stdout] | ----------------------------------------------------- field in this struct [INFO] [stdout] 1528 | ctx_star: &'star mut ContextAtBracketStarOfEnumVariant<'a>, [INFO] [stdout] 1529 | question_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `question_span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1534:5 [INFO] [stdout] | [INFO] [stdout] 1532 | pub struct ContextAtBracketStarInsideQuestionOfEnumItemTo<'a> { [INFO] [stdout] | ---------------------------------------------- field in this struct [INFO] [stdout] 1533 | ctx_star: ContextAtBracketStarOfEnumVariant<'a>, [INFO] [stdout] 1534 | question_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cache_for_unspecified` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl InheritedProp { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn cache_for_unspecified(&mut self) -> &mut Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Calculated` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | enum Calculated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_ts` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/expand_props.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn expand_ts( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExpandTs` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/expand_props.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | pub type ExpandTs = MaybeIntact>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 36 | ctx: &'a mut Ctx, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 43 | ) -> Result<&mut CustomTokensExpanded, &mut D> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 | ) -> Result<&'a mut CustomTokensExpanded, &'a mut D> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 121 | ctx: &'a mut Ctx, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 124 | ) -> &mut D { [INFO] [stdout] | ^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 124 | ) -> &'a mut D { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix_span` and `block` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 570 | Const { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 571 | prefix_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 572 | block: TokenTree, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix_span` and `paren_expr` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 574 | Runtime { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 575 | prefix_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 576 | paren_expr: TokenTree, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultExt` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait ResultExt: Into> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultWithPayload` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait ResultWithPayload: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_unwrap_payload` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub trait TryUnwrapPayload { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 75 | fn try_unwrap_payload(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParsingTokenStreamCow` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | pub type ParsingTokenStreamCow<'a> = ParsingTokenStream>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 329 | impl TokenStreamCow<'_> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 344 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IterTokenTreeCow` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 356 | pub trait IterTokenTreeCow {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_expect_err` and `parse_where_clause` are never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:431:8 [INFO] [stdout] | [INFO] [stdout] 390 | impl ParsingTokenStream { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 431 | fn make_expect_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | pub fn parse_where_clause( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vis` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1110:9 [INFO] [stdout] | [INFO] [stdout] 1109 | pub struct ParseItemStart { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 1110 | pub vis: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pub` and `paren` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1203:5 [INFO] [stdout] | [INFO] [stdout] 1202 | pub struct SomeVisibility { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 1203 | r#pub: IdentPub, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1204 | paren: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_tokens` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1208:12 [INFO] [stdout] | [INFO] [stdout] 1207 | impl SomeVisibility { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 1208 | pub fn into_tokens(self) -> impl IntoTokens { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `group` and `kind` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1217:5 [INFO] [stdout] | [INFO] [stdout] 1216 | pub struct SomeVisibilityParen { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 1217 | group: GroupParen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1218 | kind: SomeVisibilityParenKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1250:11 [INFO] [stdout] | [INFO] [stdout] 1250 | Crate(IdentCrate), [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] 1250 - Crate(IdentCrate), [INFO] [stdout] 1250 + Crate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1251:11 [INFO] [stdout] | [INFO] [stdout] 1251 | Self_(IdentSelf), [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] 1251 - Self_(IdentSelf), [INFO] [stdout] 1251 + Self_(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1252:11 [INFO] [stdout] | [INFO] [stdout] 1252 | Super(IdentSuper), [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] 1252 - Super(IdentSuper), [INFO] [stdout] 1252 + Super(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1253:8 [INFO] [stdout] | [INFO] [stdout] 1253 | In(IdentIn, proc_macro::token_stream::IntoIter), [INFO] [stdout] | -- ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 1253 - In(IdentIn, proc_macro::token_stream::IntoIter), [INFO] [stdout] 1253 + In((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unexpected_eof_after` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1350:8 [INFO] [stdout] | [INFO] [stdout] 1349 | impl ParseError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 1350 | fn unexpected_eof_after(after: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1437:23 [INFO] [stdout] | [INFO] [stdout] 1437 | pub struct PunctPound(Punct); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1443:23 [INFO] [stdout] | [INFO] [stdout] 1443 | pub struct PunctColon(Punct); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1445:22 [INFO] [stdout] | [INFO] [stdout] 1445 | pub struct PunctSemi(Punct); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `span` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1448:12 [INFO] [stdout] | [INFO] [stdout] 1447 | impl PunctSemi { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 1448 | pub fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1472:21 [INFO] [stdout] | [INFO] [stdout] 1472 | pub struct IdentPub(Ident); [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1474:23 [INFO] [stdout] | [INFO] [stdout] 1474 | pub struct IdentCrate(Ident); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1476:22 [INFO] [stdout] | [INFO] [stdout] 1476 | pub struct IdentSelf(Ident); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1478:23 [INFO] [stdout] | [INFO] [stdout] 1478 | pub struct IdentSuper(Ident); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1480:20 [INFO] [stdout] | [INFO] [stdout] 1480 | pub struct IdentIn(Ident); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vis` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1536:9 [INFO] [stdout] | [INFO] [stdout] 1535 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 1536 | pub vis: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1549:32 [INFO] [stdout] | [INFO] [stdout] 1549 | Paren { paren: GroupParen, semi: PunctSemi }, [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1551:10 [INFO] [stdout] | [INFO] [stdout] 1551 | Semi(PunctSemi), [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] 1551 - Semi(PunctSemi), [INFO] [stdout] 1551 + Semi(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_token_stream` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1555:12 [INFO] [stdout] | [INFO] [stdout] 1554 | impl StructData { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 1555 | pub fn into_token_stream(self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_eof` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1818:12 [INFO] [stdout] | [INFO] [stdout] 1798 | impl<'a> ParsingAfterConsumedTokens<'a> { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1818 | pub fn expect_eof(&self) -> Result<(), ParseError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Type` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1937:12 [INFO] [stdout] | [INFO] [stdout] 1937 | pub struct Type(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MatchBytes` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/ident_eq.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait MatchBytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_slice_or_truncated` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/ident_eq.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 72 | impl IdentToBuf { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub const fn as_slice_or_truncated(&self) -> Result<&[u8], &[u8; N]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/item.rs:979:5 [INFO] [stdout] | [INFO] [stdout] 978 | pub struct GroupMaybeFromEq { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 979 | eq: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContextOfStructField` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:179:6 [INFO] [stdout] | [INFO] [stdout] 179 | type ContextOfStructField<'a> = field::ContextOfField<&'a mut ContextOfStruct>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructFieldToDefault` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:420:8 [INFO] [stdout] | [INFO] [stdout] 420 | struct StructFieldToDefault; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take_for_calculating` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:533:8 [INFO] [stdout] | [INFO] [stdout] 529 | impl MaybeCalculating { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 533 | fn take_for_calculating(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `CIRCULAR_REF` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:642:11 [INFO] [stdout] | [INFO] [stdout] 641 | impl CustomTokensExpandErrorOr { [INFO] [stdout] | ------------------------------------------------------------ associated constant in this implementation [INFO] [stdout] 642 | const CIRCULAR_REF: Self = Self::Custom(CustomTokensExpandError::CircularRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mut_deref` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/field.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 77 | impl<'a, Ctx: ?Sized + ContextSupportsField> ContextOfField<&'a mut &mut Ctx> { [INFO] [stdout] | ----------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 78 | pub(super) fn mut_deref(self) -> ContextOfField<&'a mut Ctx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/field.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl ContextOfField { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 95 | pub(super) fn as_mut(&mut self) -> ContextOfField<&mut Ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span_tag` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_tag.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | Tagged { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 33 | span_tag: Span, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_expand_to_tagged_kvs_default` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to_tagged_default.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ContextWithPropToTaggedDefault: Sized + ToInternallyTaggedDefaultWith { [INFO] [stdout] | ------------------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 173 | fn try_expand_to_tagged_kvs_default( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `expand_default` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/custom.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl PropDefaultCustom> { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn expand_default<'a, Ctx>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct SpecifiedTagMode { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 74 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecifiedTagMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `only_field_index` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 255 | only_field_index: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContextOfEnumVariantField` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:426:6 [INFO] [stdout] | [INFO] [stdout] 426 | type ContextOfEnumVariantField<'a> = field::ContextOfField>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EnumToExpandError` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1450:6 [INFO] [stdout] | [INFO] [stdout] 1450 | enum EnumToExpandError {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1517:8 [INFO] [stdout] | [INFO] [stdout] 1516 | impl<'a> ContextAtBracketQuestionOfEnumItemTo<'a> { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] 1517 | fn as_mut(&mut self) -> ContextAtBracketQuestionOfEnumItemTo<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `question_span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1529:5 [INFO] [stdout] | [INFO] [stdout] 1527 | pub struct ContextAtBracketQuestionInsideBracketStarOfEnumItemTo<'a, 'star> { [INFO] [stdout] | ----------------------------------------------------- field in this struct [INFO] [stdout] 1528 | ctx_star: &'star mut ContextAtBracketStarOfEnumVariant<'a>, [INFO] [stdout] 1529 | question_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `question_span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1534:5 [INFO] [stdout] | [INFO] [stdout] 1532 | pub struct ContextAtBracketStarInsideQuestionOfEnumItemTo<'a> { [INFO] [stdout] | ---------------------------------------------- field in this struct [INFO] [stdout] 1533 | ctx_star: ContextAtBracketStarOfEnumVariant<'a>, [INFO] [stdout] 1534 | question_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cache_for_unspecified` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl InheritedProp { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn cache_for_unspecified(&mut self) -> &mut Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Calculated` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | enum Calculated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_ts` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/expand_props.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn expand_ts( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExpandTs` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/expand_props.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | pub type ExpandTs = MaybeIntact>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 36 | ctx: &'a mut Ctx, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 43 | ) -> Result<&mut CustomTokensExpanded, &mut D> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 | ) -> Result<&'a mut CustomTokensExpanded, &'a mut D> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 121 | ctx: &'a mut Ctx, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 124 | ) -> &mut D { [INFO] [stdout] | ^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 124 | ) -> &'a mut D { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling derive_arbitrary v1.4.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling arbitrary v1.4.2 [INFO] [stderr] Compiling libfuzzer-sys v0.4.13 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cjson v0.1.0 (/opt/rustwide/workdir/packages/cjson) [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:715:7 [INFO] [stdout] | [INFO] [stdout] 715 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:731:7 [INFO] [stdout] | [INFO] [stdout] 731 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:736:7 [INFO] [stdout] | [INFO] [stdout] 736 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1063:7 [INFO] [stdout] | [INFO] [stdout] 1063 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1111:7 [INFO] [stdout] | [INFO] [stdout] 1111 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HasConstCompileTimeChunk`, `into_json_key_colon_value::Sealed as _`, and `runtime_chunks::RuntimeChunks` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | r#const::{HasConstCompileTimeChunk, HasConstState, State, states}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | consume_chained_full::ConsumeChainedStringsFull, runtime_chunks::RuntimeChunks, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | into_json_key_colon_value::Sealed as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MakeChunks`, `consume_open_content::ConsumeArrayOpenItemsIfNotEmpty`, and `never_consume::NeverConsume` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | consume_open_content::ConsumeArrayOpenItemsIfNotEmpty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | json_kinds::{JsonKind, JsonKindContains}, [INFO] [stdout] 21 | never_consume::NeverConsume, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | open_close::{GroupOrComma, MakeChunks, OpenClose}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::ser::consumers::{trait_helpers::base::*, trait_items::base::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::ser::consumers::{trait_helpers::base::*, trait_items::base::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | pub use crate::ser::consumers::{trait_helpers::try_::*, trait_items::try_::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | pub use crate::ser::consumers::{trait_helpers::try_::*, trait_items::try_::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | async_, async_block, async_move_block, await_, de_async, de_async_move, define_async_fn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | pub use crate::ser::consumers::{trait_helpers::async_try::*, trait_items::async_try::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | pub use crate::ser::consumers::{trait_helpers::async_try::*, trait_items::async_try::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `async_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | macro_rules! async_block { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `async_move_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | macro_rules! async_move_block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:256:40 [INFO] [stdout] | [INFO] [stdout] 256 | AwaitedOutput, Output, async_, async_block, async_move_block, await_, await_try, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::impl_many` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | utils::impl_many, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Consumed` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{Consumed, HasConstState, IntoJson, json_kinds}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_comma_content_close.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | ser::{IntoJson, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CONSUME_IN_JSON_STRING`, `async_move_block`, `await_`, `de_async`, `only_expr`, and `select_method` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_comma_content_close.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | CONSUME_CHAINED, CONSUME_IN_JSON_STRING, CONSUME_JSON, CONSUME_TEXT_CHUNK, Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | XHelpers as _, async_move_block, await_, await_try, de_async, de_async_move, last_expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] 35 | only_expr, select_method, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConsumeTextChunk` and `IntoTextChunks` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | traits::{ConsumeTextChunk, IntoTextChunks}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConsumeChained` and `ConsumeJson` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ConsumeChained, ConsumeChunksOfNonEmptyArray, ConsumeChunksOfNonEmptyObject, ConsumeJson, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | ser::{IntoJson, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConsumeJson` and `never_consume::NeverConsume` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:9:66 [INFO] [stdout] | [INFO] [stdout] 9 | ConsumeChunksOfNonEmptyArray, ConsumeChunksOfNonEmptyObject, ConsumeJson, ConsumeJsonText, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | never_consume::NeverConsume, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CONSUME_CHAINED`, `CONSUME_IN_JSON_STRING`, `async_move_block`, `await_`, `never_future`, and `select_method` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | CONSUME_CHAINED, CONSUME_IN_JSON_STRING, CONSUME_JSON, CONSUME_TEXT_CHUNK, Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | XHelpers as _, async_move_block, await_, await_try, de_async, de_async_move, last_expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 64 | never_future, only_expr, select_method, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Consumed` and `IntoJson` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | ser::{Consumed, IntoJson, consumers::HasConstState, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ArrayNextStateOf as NextStateOf` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | use self::ArrayNextStateOf as NextStateOf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeArrayItemsAppendCommaIfNotEmpty as TConsumeContentComma` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | use super::ConsumeArrayItemsAppendCommaIfNotEmpty as TConsumeContentComma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeChunksOfNonEmptyArray as TConsumeChunksOfNonEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | use super::ConsumeChunksOfNonEmptyArray as TConsumeChunksOfNonEmpty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::consume_open_content::ConsumeArrayOpenItemsIfNotEmpty as TConsumeOpenItemsIfNotEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | use super::consume_open_content::ConsumeArrayOpenItemsIfNotEmpty as TConsumeOpenItemsIfNotEmpty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_kinds::Array as K` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | use json_kinds::Array as K; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ObjectNextStateOf as NextStateOf` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | use self::ObjectNextStateOf as NextStateOf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeChunksOfNonEmptyObject as TConsumeChunksOfNonEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | use super::ConsumeChunksOfNonEmptyObject as TConsumeChunksOfNonEmpty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeObjectKvsAppendCommaIfNotEmpty as TConsumeContentComma` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | use super::ConsumeObjectKvsAppendCommaIfNotEmpty as TConsumeContentComma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::consume_open_content::ConsumeObjectOpenKvsIfNotEmpty as TConsumeOpenItemsIfNotEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | use super::consume_open_content::ConsumeObjectOpenKvsIfNotEmpty as TConsumeOpenItemsIfNotEmpty; // TODO: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_kinds::Object as K` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | use json_kinds::Object as K; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_move_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/json_string_chunks.rs:106:49 [INFO] [stdout] | [INFO] [stdout] 106 | END_JSON_STRING, Output, XHelpers as _, async_move_block, await_try, de_async_move, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:233:11 [INFO] [stdout] | [INFO] [stdout] 233 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CONSUME_JSON` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:341:54 [INFO] [stdout] | [INFO] [stdout] 341 | CONSUME_CHAINED, CONSUME_IN_JSON_STRING, CONSUME_JSON, CONSUME_TEXT_CHUNK, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:525:11 [INFO] [stdout] | [INFO] [stdout] 525 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:527:11 [INFO] [stdout] | [INFO] [stdout] 527 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:532:11 [INFO] [stdout] | [INFO] [stdout] 532 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:534:11 [INFO] [stdout] | [INFO] [stdout] 534 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:645:11 [INFO] [stdout] | [INFO] [stdout] 645 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:647:11 [INFO] [stdout] | [INFO] [stdout] 647 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:668:11 [INFO] [stdout] | [INFO] [stdout] 668 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CONSUME_JSON` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:675:25 [INFO] [stdout] | [INFO] [stdout] 675 | use trait_mod::{CONSUME_JSON, CONSUME_JSON_CHUNKS, Output}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:259:7 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HasConstState`, `IntermediateChunkAsStr`, and `ser::traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | r#const::{HasConstCompileTimeChunk, HasConstState, IntermediateChunkAsStr, State}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | ser::traits::ConsumeTextChunk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `async_move_block` and `select` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1193:60 [INFO] [stdout] | [INFO] [stdout] 1193 | CONSUME_TEXT_CHUNK, Output, XHelpers as _, async_, async_move_block, await_try, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1194 | de_async_move, last_expr, only_expr, select, select_expr, select_method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consume_open_content_comma::ConsumeArrayOpenContentComma as TConsumeOpenContentBeforeContent` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1201:21 [INFO] [stdout] | [INFO] [stdout] 1201 | use consume_open_content_comma::ConsumeArrayOpenContentComma as TConsumeOpenContentBeforeContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1410:19 [INFO] [stdout] | [INFO] [stdout] 1410 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1413:19 [INFO] [stdout] | [INFO] [stdout] 1413 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1445:19 [INFO] [stdout] | [INFO] [stdout] 1445 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1448:19 [INFO] [stdout] | [INFO] [stdout] 1448 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1458:19 [INFO] [stdout] | [INFO] [stdout] 1458 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1461:19 [INFO] [stdout] | [INFO] [stdout] 1461 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1485:19 [INFO] [stdout] | [INFO] [stdout] 1485 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consume_open_content_comma::ConsumeObjectOpenContentComma as TConsumeOpenContentBeforeContent` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1217:21 [INFO] [stdout] | [INFO] [stdout] 1217 | use consume_open_content_comma::ConsumeObjectOpenContentComma as TConsumeOpenContentBeforeContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasConstChunk` [INFO] [stdout] --> packages/cjson/src/ser/traits.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use super::iter_text_chunk::{HasConstChunk, IterTextChunk}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cjson_consumer_driven` [INFO] [stdout] --> packages/cjson/src/ser/exts.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(cjson_consumer_driven)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cjson_consumer_driven)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cjson_consumer_driven)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cjson_consumer_driven` [INFO] [stdout] --> packages/cjson/src/ser/exts.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(cjson_consumer_driven))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cjson_consumer_driven)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cjson_consumer_driven)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::r#const::ConstAsJsonValueStr` [INFO] [stdout] --> packages/cjson/src/ser/int/const.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::r#const::ConstAsJsonValueStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `texts` [INFO] [stdout] --> packages/cjson/src/ser/string.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ser::{ToJson, texts}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `option_map` [INFO] [stdout] --> packages/cjson/src/utils.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | macro_rules! option_map { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `option_unwrap_or` [INFO] [stdout] --> packages/cjson/src/utils.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | macro_rules! option_unwrap_or { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `option_map` and `option_unwrap_or` [INFO] [stdout] --> packages/cjson/src/utils.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) use {option_if_some_or, option_map, option_map_or, option_unwrap_or}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/const.rs:509:7 [INFO] [stdout] | [INFO] [stdout] 509 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::transmute` [INFO] [stdout] --> packages/cjson/src/const.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{marker::PhantomData, mem::transmute}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::impl_many` [INFO] [stdout] --> packages/cjson/src/const.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | utils::impl_many, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::HasConstJsonValue` [INFO] [stdout] --> packages/cjson/src/const/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::HasConstJsonValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/const/state.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/const/state.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/const/state.rs:864:11 [INFO] [stdout] | [INFO] [stdout] 864 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter` [INFO] [stdout] --> packages/cjson/src/const/state.rs:1224:16 [INFO] [stdout] | [INFO] [stdout] 1224 | use core::{iter, marker::PhantomData}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IterNonLending` [INFO] [stdout] --> packages/cjson/src/const/state.rs:1227:42 [INFO] [stdout] | [INFO] [stdout] 1227 | iter_text_chunk::{HasConstChunk, IterNonLending}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/const/state/deserializer.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1482:43 [INFO] [stdout] | [INFO] [stdout] 1482 | IMPL_END_WITH_RIGHT(self).impl_end_with_right_brace(yes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ --- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1476:43 [INFO] [stdout] | [INFO] [stdout] 1476 | IMPL_END_WITH_RIGHT(self).impl_end_with_right_bracket(yes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ --- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmptyOrCommaSeparatedElements` [INFO] [stdout] --> packages/cjson/src/const.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | self, Array, ConsumeTextChunk, EmptyOrCommaSeparatedElements, IntoTextChunks, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsumeJson` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_comma_content_close.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | ConsumeChunksOfNonEmptyArray, ConsumeChunksOfNonEmptyObject, ConsumeJson, Consumed, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> packages/cjson/src/const.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | self, Array, ConsumeTextChunk, EmptyOrCommaSeparatedElements, IntoTextChunks, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/json_string_chunks.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | ser::{IntoJson, json_kinds, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsonString` [INFO] [stdout] --> packages/cjson/src/const.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | JsonString, TryConsumeTextChunk, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoTextChunks` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | traits::{self, ConsumeTextChunk, IntoTextChunks as _}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | traits::{self, ConsumeTextChunk, IntoTextChunks as _}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsumeJson` [INFO] [stdout] --> packages/cjson/src/ser/int.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ConsumeJson, IntoJson, ToJsonByCopyIntoJson, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:40:70 [INFO] [stdout] | [INFO] [stdout] 40 | fn runtime_chunks_write_into(self, w: &mut W) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/never.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/either.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/bracketed.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/braced.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/quoted_json_string_fragment.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/chain.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cjson-fuzz v0.0.0 (/opt/rustwide/workdir/fuzz) [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:97:75 [INFO] [stdout] | [INFO] [stdout] 97 | fn write_into(self, w: &mut W) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StrAsArrayVec` is more private than the item `StatedChunkBuf::::inner` [INFO] [stdout] --> packages/cjson/src/const/stated_str_as_array_vec.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub const fn inner(&self) -> &StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StatedChunkBuf::::inner` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `StrAsArrayVec` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/cjson/src/const/str_as_array_vec.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StrAsArrayVec` is more private than the item `StatedChunkBuf::::into_inner` [INFO] [stdout] --> packages/cjson/src/const/stated_str_as_array_vec.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub const fn into_inner(self) -> StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StatedChunkBuf::::into_inner` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `StrAsArrayVec` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/cjson/src/const/str_as_array_vec.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_start` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1208:26 [INFO] [stdout] | [INFO] [stdout] 1208 | const fn assert_start(state: State) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_end` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1211:26 [INFO] [stdout] | [INFO] [stdout] 1211 | const fn assert_end(state: State) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_start` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1224:26 [INFO] [stdout] | [INFO] [stdout] 1224 | const fn assert_start(state: State) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_end` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1227:26 [INFO] [stdout] | [INFO] [stdout] 1227 | const fn assert_end(state: State) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x_write_into` and `x_write_kvs` are never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/trait_helpers.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) trait XHelpers { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 141 | fn x_write_into(self, w: &mut W) -> Output![(), W] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn x_write_kvs( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RuntimeChunks` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait RuntimeChunks { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonValue` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct JsonValue(pub T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonStringFragment` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct JsonStringFragment>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonItemsAfterItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct JsonItemsAfterItem>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonItemsAfterArrayStartBeforeItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct JsonItemsAfterArrayStartBeforeItem>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonItemsBetweenBrackets` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct JsonItemsBetweenBrackets>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Never` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum Never {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateThenJsonValue` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct StateThenJsonValue(Never, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeChainedArrayItems` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ConsumeChainedArrayItems< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeChainedObjectKvs` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ConsumeChainedObjectKvs< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConsumeChainedArrayItemsInitialConsumer` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait ConsumeChainedArrayItemsInitialConsumer {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConsumeChainedObjectKvsInitialConsumer` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait ConsumeChainedObjectKvsInitialConsumer {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_owned` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 61 | impl ConsumeChainedContent { [INFO] [stdout] | ------------------------------------------------------------------ associated function in this implementation [INFO] [stdout] 62 | pub(super) fn new_owned(writer: W) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 71 | impl, I: TraitInitialConsumer> ConsumeChainedContent { [INFO] [stdout] | ----------------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 72 | pub(super) fn new(writer: W, mut started: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImplExtend` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | struct ImplExtend(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `impl_extend` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 102 | / impl, I: TraitInitialConsumer> [INFO] [stdout] 103 | | ImplExtend> [INFO] [stdout] | |______________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | async fn impl_extend( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeArrayItems` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ConsumeArrayItems(pub W); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeObjectKvs` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ConsumeObjectKvs(pub W); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeArrayItemsAndRecord` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) struct ConsumeArrayItemsAndRecord<'a, W> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeObjectKvsAndRecord` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub(super) struct ConsumeObjectKvsAndRecord<'a, W> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a, W> ConsumeContentAndRecord<'a, W> { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 41 | pub(super) const fn new(started: &'a mut bool, writer: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeArrayOpenContentComma` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ConsumeArrayOpenContentComma< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeObjectOpenContentComma` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ConsumeObjectOpenContentComma< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Never` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum Never {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayNextStateOf` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ArrayNextStateOf(Never, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectNextStateOf` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ObjectNextStateOf(Never, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPEN` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | const OPEN: &str = "["; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 72 | / impl [INFO] [stdout] 73 | | TConsumeOpenContentComma [INFO] [stdout] | |___________________________________________________________________- associated function in this implementation [INFO] [stdout] 74 | { [INFO] [stdout] 75 | pub(super) fn new(writer: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPEN` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | const OPEN: &str = "{"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_comma` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 12 | impl GroupOrComma { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | const fn is_comma(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BOTH_NOTHING` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 41 | impl OpenClose { [INFO] [stdout] | -------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub const BOTH_NOTHING: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MakeChunks` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | pub(crate) trait MakeChunks { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MadeChunks` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | pub(crate) struct MadeChunks { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MakeChunkOutput` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:191:6 [INFO] [stdout] | [INFO] [stdout] 191 | enum MakeChunkOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_chunk` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | const fn make_chunk( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_without_validation` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! define_refined_type { [INFO] [stdout] ... [INFO] [stdout] 41 | impl $Type { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) const fn new_without_validation(chunks: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | / define_refined_type!( [INFO] [stdout] 106 | | #[assert_refined(Text, Value)] [INFO] [stdout] 107 | | /// Json string. [INFO] [stdout] 108 | | #[derive(Debug, Clone, Copy)] [INFO] [stdout] 109 | | pub struct JsonString(T); [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_without_validation` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! define_refined_type { [INFO] [stdout] ... [INFO] [stdout] 41 | impl $Type { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) const fn new_without_validation(chunks: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | / define_refined_type!( [INFO] [stdout] 113 | | #[assert_refined(JsonStringFragment)] [INFO] [stdout] 114 | | /// Json string fragment. [INFO] [stdout] 115 | | #[derive(Debug, Clone, Copy)] [INFO] [stdout] 116 | | pub struct JsonStringFragment(T); [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_without_validation` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! define_refined_type { [INFO] [stdout] ... [INFO] [stdout] 41 | impl $Type { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) const fn new_without_validation(chunks: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | / define_refined_type!( [INFO] [stdout] 136 | | #[assert_refined(NonEmptyKvs)] [INFO] [stdout] 137 | | #[derive(Debug, Clone, Copy)] [INFO] [stdout] 138 | | pub struct NonEmptyKvs(T); [INFO] [stdout] 139 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NextItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | struct NextItem(Option); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NextItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | struct NextItem(Option); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `EMPTY_OBJECT` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/value_const.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | impl<'s> Value<&'s str> { [INFO] [stdout] | ----------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) const EMPTY_OBJECT: Self = Self("{}"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunks` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Chunks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Chunks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 12 | fn new(s: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PositionNeedsEscape` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | trait PositionNeedsEscape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl<$lt> $Ty { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn next(&mut self) -> Option<&'a [u8]> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bytes_len_hint` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'this> Chunks<'this> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub const fn bytes_len_hint(&self) -> (usize, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_len_hint` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | const fn bytes_len_hint(escaped: Option<&[u8]>, bytes_len: usize) -> (usize, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_len_hint_impl` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | const fn bytes_len_hint_impl(escaped_len: usize, bytes_len: usize) -> (usize, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_to_consume_chained` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn start_to_consume_chained< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_to_consume_chained` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | fn start_to_consume_chained< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_to_consume_chained` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | fn start_to_consume_chained< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CommaSeparated` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:128:6 [INFO] [stdout] | [INFO] [stdout] 128 | type CommaSeparated = ::ChainWithComma; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Eq` is never constructed [INFO] [stdout] --> packages/cjson/src/utils/const.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Eq(pub A, pub B); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call_once` is never used [INFO] [stdout] --> packages/cjson/src/utils/const.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 3 | impl Eq<&[u8], &[u8]> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 4 | pub(crate) const fn call_once(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson/src/const.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct BooleanTextChunks(Option); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `next_text_chunk` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 91 | impl BooleanTextChunks { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 92 | const fn next_text_chunk() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_ref` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 99 | impl AsRefU8Slice { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 100 | #[ref_cast_custom] [INFO] [stdout] 101 | pub(crate) const fn new_ref(s: &T) -> &Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson/src/const.rs:275:80 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct StatedChunkStr2<'a, const PREV_STATE: u128, const NEXT_STATE: u128>(&'a str); [INFO] [stdout] | --------------- field in this struct ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonItemsAfterItem` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:718:6 [INFO] [stdout] | [INFO] [stdout] 718 | type JsonItemsAfterItem = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonItemsAfterArrayStartBeforeItem` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:726:6 [INFO] [stdout] | [INFO] [stdout] 726 | type JsonItemsAfterArrayStartBeforeItem = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonItemsBetweenBrackets` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:734:6 [INFO] [stdout] | [INFO] [stdout] 734 | type JsonItemsBetweenBrackets = ::IntoCommaSeparatedElements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copied` is never used [INFO] [stdout] --> packages/cjson/src/const/stated_str.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> StatedChunkStr<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) const fn copied(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `NEW`, `is_empty`, and `clear` are never used [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 13 | impl ArrayString { [INFO] [stdout] | -------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) const NEW: Self = Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) const fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) const fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `assert_is_before_top_level_right_bracket`, `assert_is_before_top_level_right_brace`, `remove_group_open`, `remove_group_close`, and `remove_surrounding_group` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 27 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub(crate) const fn assert_is_before_top_level_right_bracket(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) const fn assert_is_before_top_level_right_brace(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub(crate) const fn remove_group_open(init: State, next: State) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | pub(crate) const fn remove_group_close(prev: State, eof: State) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | pub(crate) const fn remove_surrounding_group(init: State, eof: State) -> (u8, u8, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_u128`, `INTERMEDIATE_TAG`, and `EOF_AS_U128` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:829:14 [INFO] [stdout] | [INFO] [stdout] 828 | impl StateInner { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 829 | const fn as_u128(&self) -> u128 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 861 | const INTERMEDIATE_TAG: u8 = 0b10_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 862 | const EOF_AS_U128: u128 = !0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_u64_u8`, `try_from_u64_u8`, `is_in_top_level_array`, and `is_in_top_level_object` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:940:14 [INFO] [stdout] | [INFO] [stdout] 939 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 940 | const fn as_u64_u8(&self) -> (u64, u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | const fn try_from_u64_u8(inner: u64, len: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 972 | const fn is_in_top_level_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | const fn is_in_top_level_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_u8` and `try_from_u8` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:1155:8 [INFO] [stdout] | [INFO] [stdout] 1096 | impl $IntermediateState { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1155 | fn try_from_u8(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1156 | #[into_u8] [INFO] [stdout] 1157 | fn into_u8(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_inter_state` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:1177:21 [INFO] [stdout] | [INFO] [stdout] 1177 | pub(crate) const fn check(prev_state: State, next_state: State, s: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseJsonValueOutput` is never used [INFO] [stdout] --> packages/cjson/src/const/state/deserializer.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | pub(super) enum ParseJsonValueOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | / items.try_for_each(|text| { [INFO] [stdout] 186 | | w.try_consume_text_chunk(",")?; [INFO] [stdout] 187 | | text.try_write_into(w) [INFO] [stdout] 188 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 185 | let _ = items.try_for_each(|text| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> fuzz/src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoTokenTree` [INFO] [stdout] --> fuzz/src/macros.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use typed_quote::{IntoTokenTree, IntoTokens, quote, tokens::IterTokens}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoTokens` and `quote` [INFO] [stdout] --> fuzz/src/types/option.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use typed_quote::{IntoTokens, quote}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypeNonGenericIntoType`, `TypeNonGeneric`, `Type`, `ValueOfOption`, and `ValueTopLevelMaybeFromInput` [INFO] [stdout] --> fuzz/src/types/option.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | types::{Type, TypeNonGeneric, TypeNonGenericIntoType}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | values::{ValueOfOption, ValueTopLevelMaybeFromInput}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TypeOfOption` [INFO] [stdout] --> fuzz/src/types/option.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::TypeOfOption; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> fuzz/src/values.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> fuzz/src/values.rs:269:7 [INFO] [stdout] | [INFO] [stdout] 269 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> fuzz/src/values.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> fuzz/src/values.rs:300:7 [INFO] [stdout] | [INFO] [stdout] 300 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStream` [INFO] [stdout] --> fuzz/src/values.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use proc_macro2::{Literal, TokenStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CJsonEither`, `ExternEither`, and `TypeOfOption` [INFO] [stdout] --> fuzz/src/values.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | CJsonEither, ExternEither, Type, TypeNonGeneric, TypeNonGenericIntoTypeWithInto, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 10 | TypeOfOption, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fuzz-tests v0.1.0 (/opt/rustwide/workdir/fuzz-tests) [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> fuzz/src/generic_type.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn size_hint(depth: usize) -> (usize, Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx` is never read [INFO] [stdout] --> fuzz/src/program.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) struct ProgramContextMakingGenericsConcrete<'a> { [INFO] [stdout] | ------------------------------------ field in this struct [INFO] [stdout] 40 | ctx: &'a ProgramContext, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgramContextMakingGenericsConcrete` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> fuzz/src/program.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToTokenStream2` is never used [INFO] [stdout] --> fuzz/src/macros.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait ToTokenStream2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RefImplIntoJson` is never used [INFO] [stdout] --> fuzz/src/traits.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | pub(crate) enum RefImplIntoJson {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type_non_generic_into_type` is never used [INFO] [stdout] --> fuzz/src/types.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) trait TypeNonGenericIntoType>: TypeNonGeneric { [INFO] [stdout] | ---------------------- method in this trait [INFO] [stdout] 63 | fn type_non_generic_into_type(self) -> T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SingletonTypes` is never used [INFO] [stdout] --> fuzz/src/types.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) trait SingletonTypes: [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> fuzz/src/value_from_input.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub(crate) struct NeverValueFromInput { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 165 | ty: T, [INFO] [stdout] 166 | inner: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NeverValueFromInput` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `indexmap` [INFO] [stderr] --> fuzz/Cargo.toml:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | indexmap = { version = "2.14.0", features = ["arbitrary"] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `indexmap` [INFO] [stderr] warning: `cjson-fuzz` (manifest) generated 1 warning [INFO] [stderr] warning: unused dependency `cjson` [INFO] [stderr] --> fuzz-tests/Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | cjson = { path = "../packages/cjson", features = ["serde", "either"] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `cjson` [INFO] [stderr] warning: unused dependency `serde_json` [INFO] [stderr] --> fuzz-tests/Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / serde_json = { version = "1", features = [ [INFO] [stderr] 12 | | "arbitrary_precision", [INFO] [stderr] 13 | | "preserve_order", [INFO] [stderr] 14 | | ] } [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_json` [INFO] [stderr] warning: `fuzz-tests` (manifest) generated 2 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: higher-kinded-types v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9c3fb474665b5b9650cec6685ea1d2f2ede86293e7ba6602a9b464db7a38d52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c3fb474665b5b9650cec6685ea1d2f2ede86293e7ba6602a9b464db7a38d52b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Group` and `Punct` [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Delimiter, Group, Ident, Punct, Span, TokenStream, TokenTree}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson-proc-macro/src/utils.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> packages/cjson-proc-macro/src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `mem::ManuallyDrop`, `process::Output`, and `self` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mem::ManuallyDrop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ops::{self, Add, Deref}, [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] 7 | process::Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use typed_quote::{Either, IntoTokens, ToTokens, WithSpan, maybe_span::MaybeSpan as _, quote}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Ident, Span, TokenTree}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PunctEq` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{ConsumedTokens, MetaAfterPath, ParseError, PunctEq}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta_utils.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Span, TokenTree}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoTokens` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use typed_quote::{IntoTokenTree, IntoTokens, WithSpan, quote}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokensExpanded` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | to_json::ctx::custom::{CustomTokensExpanded, TokensExpanded}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomTokens`, `PropExpandedWithErr`, and `PropExpanded` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | CustomTokens, CustomTokensExpandErrorOr, HasConstCircularRefMsg, IntoParseErrorWithSpan, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | PropExpanded, PropExpandedWithErr, StructToDefaultExpandError, TryWithOutSpan as _, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomTokensExpanded`, `HasConstCircularRefMsg`, `PropExpandedWithErr`, `PropExpanded`, `context_with_prop_to::StructToUnspecifiedExpandError`, and `field::ContextSupportsField` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | CustomTokensExpandErrorOr, EqValue, HasConstCircularRefMsg, PropExpanded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 14 | PropExpandedWithErr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | bracket_star::ContextSupportsAtBracketStar, [INFO] [stdout] 16 | context_with_prop_to::StructToUnspecifiedExpandError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | context_with_prop_to_tagged_default::ToInternallyTaggedDefaultWith, [INFO] [stdout] 18 | custom::{CustomTokensExpanded, TokensExpanded}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | field::ContextSupportsField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextWithPropToDefault`, `ContextWithPropToTaggedDefault`, `StructToExpandError`, `StructToTaggedKvsExpandError`, `custom::PropDefaultCustom`, and `only_field` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | context_with_prop_to::{ContextWithPropTo, StructToExpandError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | context_with_prop_to_default::{CalcToUntaggedDefault, ContextWithPropToDefault}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | context_with_prop_to_tagged_default::{ [INFO] [stdout] 35 | CacheForToInternallyTaggedDefault, CalcToTaggedKvsDefault, ContextWithPropToTaggedDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | StructToTaggedKvsDefaultExpandError, StructToTaggedKvsExpandError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | }, [INFO] [stdout] 38 | custom::PropDefaultCustom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | only_field, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextWithPropTo` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | context_with_prop_to::{ContextWithPropTo, StructToExpandError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1132:31 [INFO] [stdout] | [INFO] [stdout] 1132 | Some(TokenTree::Group(g)) => MetaAfterPath::Group(g), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix_span` and `block` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 570 | Const { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 571 | prefix_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 572 | block: TokenTree, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix_span` and `paren_expr` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 574 | Runtime { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 575 | prefix_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 576 | paren_expr: TokenTree, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultExt` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait ResultExt: Into> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultWithPayload` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait ResultWithPayload: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_unwrap_payload` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub trait TryUnwrapPayload { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 75 | fn try_unwrap_payload(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParsingTokenStreamCow` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | pub type ParsingTokenStreamCow<'a> = ParsingTokenStream>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 329 | impl TokenStreamCow<'_> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 344 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IterTokenTreeCow` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 356 | pub trait IterTokenTreeCow {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_expect_err` and `parse_where_clause` are never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:431:8 [INFO] [stdout] | [INFO] [stdout] 390 | impl ParsingTokenStream { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 431 | fn make_expect_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | pub fn parse_where_clause( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vis` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1110:9 [INFO] [stdout] | [INFO] [stdout] 1109 | pub struct ParseItemStart { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 1110 | pub vis: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pub` and `paren` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1203:5 [INFO] [stdout] | [INFO] [stdout] 1202 | pub struct SomeVisibility { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 1203 | r#pub: IdentPub, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1204 | paren: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_tokens` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1208:12 [INFO] [stdout] | [INFO] [stdout] 1207 | impl SomeVisibility { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 1208 | pub fn into_tokens(self) -> impl IntoTokens { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `group` and `kind` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1217:5 [INFO] [stdout] | [INFO] [stdout] 1216 | pub struct SomeVisibilityParen { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 1217 | group: GroupParen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1218 | kind: SomeVisibilityParenKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1250:11 [INFO] [stdout] | [INFO] [stdout] 1250 | Crate(IdentCrate), [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] 1250 - Crate(IdentCrate), [INFO] [stdout] 1250 + Crate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1251:11 [INFO] [stdout] | [INFO] [stdout] 1251 | Self_(IdentSelf), [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] 1251 - Self_(IdentSelf), [INFO] [stdout] 1251 + Self_(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1252:11 [INFO] [stdout] | [INFO] [stdout] 1252 | Super(IdentSuper), [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] 1252 - Super(IdentSuper), [INFO] [stdout] 1252 + Super(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1253:8 [INFO] [stdout] | [INFO] [stdout] 1253 | In(IdentIn, proc_macro::token_stream::IntoIter), [INFO] [stdout] | -- ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 1253 - In(IdentIn, proc_macro::token_stream::IntoIter), [INFO] [stdout] 1253 + In((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unexpected_eof_after` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1350:8 [INFO] [stdout] | [INFO] [stdout] 1349 | impl ParseError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 1350 | fn unexpected_eof_after(after: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1437:23 [INFO] [stdout] | [INFO] [stdout] 1437 | pub struct PunctPound(Punct); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1443:23 [INFO] [stdout] | [INFO] [stdout] 1443 | pub struct PunctColon(Punct); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1445:22 [INFO] [stdout] | [INFO] [stdout] 1445 | pub struct PunctSemi(Punct); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `span` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1448:12 [INFO] [stdout] | [INFO] [stdout] 1447 | impl PunctSemi { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 1448 | pub fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1472:21 [INFO] [stdout] | [INFO] [stdout] 1472 | pub struct IdentPub(Ident); [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1474:23 [INFO] [stdout] | [INFO] [stdout] 1474 | pub struct IdentCrate(Ident); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1476:22 [INFO] [stdout] | [INFO] [stdout] 1476 | pub struct IdentSelf(Ident); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1478:23 [INFO] [stdout] | [INFO] [stdout] 1478 | pub struct IdentSuper(Ident); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1480:20 [INFO] [stdout] | [INFO] [stdout] 1480 | pub struct IdentIn(Ident); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vis` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1536:9 [INFO] [stdout] | [INFO] [stdout] 1535 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 1536 | pub vis: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1549:32 [INFO] [stdout] | [INFO] [stdout] 1549 | Paren { paren: GroupParen, semi: PunctSemi }, [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1551:10 [INFO] [stdout] | [INFO] [stdout] 1551 | Semi(PunctSemi), [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] 1551 - Semi(PunctSemi), [INFO] [stdout] 1551 + Semi(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_token_stream` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1555:12 [INFO] [stdout] | [INFO] [stdout] 1554 | impl StructData { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 1555 | pub fn into_token_stream(self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_eof` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1818:12 [INFO] [stdout] | [INFO] [stdout] 1798 | impl<'a> ParsingAfterConsumedTokens<'a> { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1818 | pub fn expect_eof(&self) -> Result<(), ParseError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Type` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1937:12 [INFO] [stdout] | [INFO] [stdout] 1937 | pub struct Type(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MatchBytes` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/ident_eq.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait MatchBytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_slice_or_truncated` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/ident_eq.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 72 | impl IdentToBuf { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub const fn as_slice_or_truncated(&self) -> Result<&[u8], &[u8; N]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/item.rs:979:5 [INFO] [stdout] | [INFO] [stdout] 978 | pub struct GroupMaybeFromEq { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 979 | eq: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContextOfStructField` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:179:6 [INFO] [stdout] | [INFO] [stdout] 179 | type ContextOfStructField<'a> = field::ContextOfField<&'a mut ContextOfStruct>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructFieldToDefault` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:420:8 [INFO] [stdout] | [INFO] [stdout] 420 | struct StructFieldToDefault; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take_for_calculating` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:533:8 [INFO] [stdout] | [INFO] [stdout] 529 | impl MaybeCalculating { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 533 | fn take_for_calculating(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `CIRCULAR_REF` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:642:11 [INFO] [stdout] | [INFO] [stdout] 641 | impl CustomTokensExpandErrorOr { [INFO] [stdout] | ------------------------------------------------------------ associated constant in this implementation [INFO] [stdout] 642 | const CIRCULAR_REF: Self = Self::Custom(CustomTokensExpandError::CircularRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mut_deref` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/field.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 77 | impl<'a, Ctx: ?Sized + ContextSupportsField> ContextOfField<&'a mut &mut Ctx> { [INFO] [stdout] | ----------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 78 | pub(super) fn mut_deref(self) -> ContextOfField<&'a mut Ctx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/field.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl ContextOfField { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 95 | pub(super) fn as_mut(&mut self) -> ContextOfField<&mut Ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span_tag` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_tag.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | Tagged { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 33 | span_tag: Span, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_expand_to_tagged_kvs_default` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to_tagged_default.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ContextWithPropToTaggedDefault: Sized + ToInternallyTaggedDefaultWith { [INFO] [stdout] | ------------------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 173 | fn try_expand_to_tagged_kvs_default( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `expand_default` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/custom.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl PropDefaultCustom> { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn expand_default<'a, Ctx>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct SpecifiedTagMode { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 74 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecifiedTagMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `only_field_index` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 255 | only_field_index: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContextOfEnumVariantField` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:426:6 [INFO] [stdout] | [INFO] [stdout] 426 | type ContextOfEnumVariantField<'a> = field::ContextOfField>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EnumToExpandError` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1450:6 [INFO] [stdout] | [INFO] [stdout] 1450 | enum EnumToExpandError {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1517:8 [INFO] [stdout] | [INFO] [stdout] 1516 | impl<'a> ContextAtBracketQuestionOfEnumItemTo<'a> { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] 1517 | fn as_mut(&mut self) -> ContextAtBracketQuestionOfEnumItemTo<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `question_span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1529:5 [INFO] [stdout] | [INFO] [stdout] 1527 | pub struct ContextAtBracketQuestionInsideBracketStarOfEnumItemTo<'a, 'star> { [INFO] [stdout] | ----------------------------------------------------- field in this struct [INFO] [stdout] 1528 | ctx_star: &'star mut ContextAtBracketStarOfEnumVariant<'a>, [INFO] [stdout] 1529 | question_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `question_span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1534:5 [INFO] [stdout] | [INFO] [stdout] 1532 | pub struct ContextAtBracketStarInsideQuestionOfEnumItemTo<'a> { [INFO] [stdout] | ---------------------------------------------- field in this struct [INFO] [stdout] 1533 | ctx_star: ContextAtBracketStarOfEnumVariant<'a>, [INFO] [stdout] 1534 | question_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cache_for_unspecified` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl InheritedProp { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn cache_for_unspecified(&mut self) -> &mut Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Calculated` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | enum Calculated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_ts` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/expand_props.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn expand_ts( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExpandTs` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/expand_props.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | pub type ExpandTs = MaybeIntact>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 36 | ctx: &'a mut Ctx, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 43 | ) -> Result<&mut CustomTokensExpanded, &mut D> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 | ) -> Result<&'a mut CustomTokensExpanded, &'a mut D> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 121 | ctx: &'a mut Ctx, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 124 | ) -> &mut D { [INFO] [stdout] | ^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 124 | ) -> &'a mut D { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cjson-proc-macro v0.1.0 (/opt/rustwide/workdir/packages/cjson-proc-macro) [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:715:7 [INFO] [stdout] | [INFO] [stdout] 715 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:731:7 [INFO] [stdout] | [INFO] [stdout] 731 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:736:7 [INFO] [stdout] | [INFO] [stdout] 736 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1063:7 [INFO] [stdout] | [INFO] [stdout] 1063 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1111:7 [INFO] [stdout] | [INFO] [stdout] 1111 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HasConstCompileTimeChunk`, `into_json_key_colon_value::Sealed as _`, and `runtime_chunks::RuntimeChunks` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | r#const::{HasConstCompileTimeChunk, HasConstState, State, states}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | consume_chained_full::ConsumeChainedStringsFull, runtime_chunks::RuntimeChunks, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | into_json_key_colon_value::Sealed as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MakeChunks`, `consume_open_content::ConsumeArrayOpenItemsIfNotEmpty`, and `never_consume::NeverConsume` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | consume_open_content::ConsumeArrayOpenItemsIfNotEmpty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | json_kinds::{JsonKind, JsonKindContains}, [INFO] [stdout] 21 | never_consume::NeverConsume, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | open_close::{GroupOrComma, MakeChunks, OpenClose}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::ser::consumers::{trait_helpers::base::*, trait_items::base::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::ser::consumers::{trait_helpers::base::*, trait_items::base::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | pub use crate::ser::consumers::{trait_helpers::try_::*, trait_items::try_::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | pub use crate::ser::consumers::{trait_helpers::try_::*, trait_items::try_::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | async_, async_block, async_move_block, await_, de_async, de_async_move, define_async_fn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | pub use crate::ser::consumers::{trait_helpers::async_try::*, trait_items::async_try::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | pub use crate::ser::consumers::{trait_helpers::async_try::*, trait_items::async_try::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `async_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | macro_rules! async_block { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `async_move_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | macro_rules! async_move_block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:256:40 [INFO] [stdout] | [INFO] [stdout] 256 | AwaitedOutput, Output, async_, async_block, async_move_block, await_, await_try, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::impl_many` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | utils::impl_many, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Consumed` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{Consumed, HasConstState, IntoJson, json_kinds}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_comma_content_close.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | ser::{IntoJson, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CONSUME_IN_JSON_STRING`, `async_move_block`, `await_`, `de_async`, `only_expr`, and `select_method` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_comma_content_close.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | CONSUME_CHAINED, CONSUME_IN_JSON_STRING, CONSUME_JSON, CONSUME_TEXT_CHUNK, Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | XHelpers as _, async_move_block, await_, await_try, de_async, de_async_move, last_expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] 35 | only_expr, select_method, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConsumeTextChunk` and `IntoTextChunks` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | traits::{ConsumeTextChunk, IntoTextChunks}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConsumeChained` and `ConsumeJson` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ConsumeChained, ConsumeChunksOfNonEmptyArray, ConsumeChunksOfNonEmptyObject, ConsumeJson, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | ser::{IntoJson, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConsumeJson` and `never_consume::NeverConsume` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:9:66 [INFO] [stdout] | [INFO] [stdout] 9 | ConsumeChunksOfNonEmptyArray, ConsumeChunksOfNonEmptyObject, ConsumeJson, ConsumeJsonText, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | never_consume::NeverConsume, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CONSUME_CHAINED`, `CONSUME_IN_JSON_STRING`, `async_move_block`, `await_`, `never_future`, and `select_method` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | CONSUME_CHAINED, CONSUME_IN_JSON_STRING, CONSUME_JSON, CONSUME_TEXT_CHUNK, Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | XHelpers as _, async_move_block, await_, await_try, de_async, de_async_move, last_expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 64 | never_future, only_expr, select_method, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Consumed` and `IntoJson` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | ser::{Consumed, IntoJson, consumers::HasConstState, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ArrayNextStateOf as NextStateOf` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | use self::ArrayNextStateOf as NextStateOf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeArrayItemsAppendCommaIfNotEmpty as TConsumeContentComma` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | use super::ConsumeArrayItemsAppendCommaIfNotEmpty as TConsumeContentComma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeChunksOfNonEmptyArray as TConsumeChunksOfNonEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | use super::ConsumeChunksOfNonEmptyArray as TConsumeChunksOfNonEmpty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::consume_open_content::ConsumeArrayOpenItemsIfNotEmpty as TConsumeOpenItemsIfNotEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | use super::consume_open_content::ConsumeArrayOpenItemsIfNotEmpty as TConsumeOpenItemsIfNotEmpty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_kinds::Array as K` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | use json_kinds::Array as K; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ObjectNextStateOf as NextStateOf` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | use self::ObjectNextStateOf as NextStateOf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeChunksOfNonEmptyObject as TConsumeChunksOfNonEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | use super::ConsumeChunksOfNonEmptyObject as TConsumeChunksOfNonEmpty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeObjectKvsAppendCommaIfNotEmpty as TConsumeContentComma` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | use super::ConsumeObjectKvsAppendCommaIfNotEmpty as TConsumeContentComma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::consume_open_content::ConsumeObjectOpenKvsIfNotEmpty as TConsumeOpenItemsIfNotEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | use super::consume_open_content::ConsumeObjectOpenKvsIfNotEmpty as TConsumeOpenItemsIfNotEmpty; // TODO: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_kinds::Object as K` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | use json_kinds::Object as K; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_move_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/json_string_chunks.rs:106:49 [INFO] [stdout] | [INFO] [stdout] 106 | END_JSON_STRING, Output, XHelpers as _, async_move_block, await_try, de_async_move, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:233:11 [INFO] [stdout] | [INFO] [stdout] 233 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CONSUME_JSON` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:341:54 [INFO] [stdout] | [INFO] [stdout] 341 | CONSUME_CHAINED, CONSUME_IN_JSON_STRING, CONSUME_JSON, CONSUME_TEXT_CHUNK, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:525:11 [INFO] [stdout] | [INFO] [stdout] 525 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:527:11 [INFO] [stdout] | [INFO] [stdout] 527 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:532:11 [INFO] [stdout] | [INFO] [stdout] 532 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:534:11 [INFO] [stdout] | [INFO] [stdout] 534 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:645:11 [INFO] [stdout] | [INFO] [stdout] 645 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:647:11 [INFO] [stdout] | [INFO] [stdout] 647 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:668:11 [INFO] [stdout] | [INFO] [stdout] 668 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CONSUME_JSON` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:675:25 [INFO] [stdout] | [INFO] [stdout] 675 | use trait_mod::{CONSUME_JSON, CONSUME_JSON_CHUNKS, Output}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:259:7 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HasConstState`, `IntermediateChunkAsStr`, and `ser::traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | r#const::{HasConstCompileTimeChunk, HasConstState, IntermediateChunkAsStr, State}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | ser::traits::ConsumeTextChunk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `async_move_block` and `select` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1193:60 [INFO] [stdout] | [INFO] [stdout] 1193 | CONSUME_TEXT_CHUNK, Output, XHelpers as _, async_, async_move_block, await_try, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1194 | de_async_move, last_expr, only_expr, select, select_expr, select_method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consume_open_content_comma::ConsumeArrayOpenContentComma as TConsumeOpenContentBeforeContent` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1201:21 [INFO] [stdout] | [INFO] [stdout] 1201 | use consume_open_content_comma::ConsumeArrayOpenContentComma as TConsumeOpenContentBeforeContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1410:19 [INFO] [stdout] | [INFO] [stdout] 1410 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1413:19 [INFO] [stdout] | [INFO] [stdout] 1413 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1445:19 [INFO] [stdout] | [INFO] [stdout] 1445 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1448:19 [INFO] [stdout] | [INFO] [stdout] 1448 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1458:19 [INFO] [stdout] | [INFO] [stdout] 1458 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1461:19 [INFO] [stdout] | [INFO] [stdout] 1461 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1485:19 [INFO] [stdout] | [INFO] [stdout] 1485 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consume_open_content_comma::ConsumeObjectOpenContentComma as TConsumeOpenContentBeforeContent` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1217:21 [INFO] [stdout] | [INFO] [stdout] 1217 | use consume_open_content_comma::ConsumeObjectOpenContentComma as TConsumeOpenContentBeforeContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasConstChunk` [INFO] [stdout] --> packages/cjson/src/ser/traits.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use super::iter_text_chunk::{HasConstChunk, IterTextChunk}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cjson_consumer_driven` [INFO] [stdout] --> packages/cjson/src/ser/exts.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(cjson_consumer_driven)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cjson_consumer_driven)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cjson_consumer_driven)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cjson_consumer_driven` [INFO] [stdout] --> packages/cjson/src/ser/exts.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(cjson_consumer_driven))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cjson_consumer_driven)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cjson_consumer_driven)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::r#const::ConstAsJsonValueStr` [INFO] [stdout] --> packages/cjson/src/ser/int/const.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::r#const::ConstAsJsonValueStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `texts` [INFO] [stdout] --> packages/cjson/src/ser/string.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ser::{ToJson, texts}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `option_map` [INFO] [stdout] --> packages/cjson/src/utils.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | macro_rules! option_map { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `option_unwrap_or` [INFO] [stdout] --> packages/cjson/src/utils.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | macro_rules! option_unwrap_or { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `option_map` and `option_unwrap_or` [INFO] [stdout] --> packages/cjson/src/utils.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) use {option_if_some_or, option_map, option_map_or, option_unwrap_or}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/const.rs:509:7 [INFO] [stdout] | [INFO] [stdout] 509 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::transmute` [INFO] [stdout] --> packages/cjson/src/const.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{marker::PhantomData, mem::transmute}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::impl_many` [INFO] [stdout] --> packages/cjson/src/const.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | utils::impl_many, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::HasConstJsonValue` [INFO] [stdout] --> packages/cjson/src/const/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::HasConstJsonValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/const/state.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/const/state.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/const/state.rs:864:11 [INFO] [stdout] | [INFO] [stdout] 864 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter` [INFO] [stdout] --> packages/cjson/src/const/state.rs:1224:16 [INFO] [stdout] | [INFO] [stdout] 1224 | use core::{iter, marker::PhantomData}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IterNonLending` [INFO] [stdout] --> packages/cjson/src/const/state.rs:1227:42 [INFO] [stdout] | [INFO] [stdout] 1227 | iter_text_chunk::{HasConstChunk, IterNonLending}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/const/state/deserializer.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1482:43 [INFO] [stdout] | [INFO] [stdout] 1482 | IMPL_END_WITH_RIGHT(self).impl_end_with_right_brace(yes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ --- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1476:43 [INFO] [stdout] | [INFO] [stdout] 1476 | IMPL_END_WITH_RIGHT(self).impl_end_with_right_bracket(yes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ --- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmptyOrCommaSeparatedElements` [INFO] [stdout] --> packages/cjson/src/const.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | self, Array, ConsumeTextChunk, EmptyOrCommaSeparatedElements, IntoTextChunks, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsumeJson` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_comma_content_close.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | ConsumeChunksOfNonEmptyArray, ConsumeChunksOfNonEmptyObject, ConsumeJson, Consumed, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> packages/cjson/src/const.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | self, Array, ConsumeTextChunk, EmptyOrCommaSeparatedElements, IntoTextChunks, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/json_string_chunks.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | ser::{IntoJson, json_kinds, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsonString` [INFO] [stdout] --> packages/cjson/src/const.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | JsonString, TryConsumeTextChunk, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoTextChunks` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | traits::{self, ConsumeTextChunk, IntoTextChunks as _}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | traits::{self, ConsumeTextChunk, IntoTextChunks as _}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsumeJson` [INFO] [stdout] --> packages/cjson/src/ser/int.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ConsumeJson, IntoJson, ToJsonByCopyIntoJson, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:40:70 [INFO] [stdout] | [INFO] [stdout] 40 | fn runtime_chunks_write_into(self, w: &mut W) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/never.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/either.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/bracketed.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/braced.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/quoted_json_string_fragment.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/chain.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:97:75 [INFO] [stdout] | [INFO] [stdout] 97 | fn write_into(self, w: &mut W) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StrAsArrayVec` is more private than the item `StatedChunkBuf::::inner` [INFO] [stdout] --> packages/cjson/src/const/stated_str_as_array_vec.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub const fn inner(&self) -> &StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StatedChunkBuf::::inner` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `StrAsArrayVec` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/cjson/src/const/str_as_array_vec.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StrAsArrayVec` is more private than the item `StatedChunkBuf::::into_inner` [INFO] [stdout] --> packages/cjson/src/const/stated_str_as_array_vec.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub const fn into_inner(self) -> StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StatedChunkBuf::::into_inner` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `StrAsArrayVec` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/cjson/src/const/str_as_array_vec.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_start` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1208:26 [INFO] [stdout] | [INFO] [stdout] 1208 | const fn assert_start(state: State) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_end` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1211:26 [INFO] [stdout] | [INFO] [stdout] 1211 | const fn assert_end(state: State) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_start` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1224:26 [INFO] [stdout] | [INFO] [stdout] 1224 | const fn assert_start(state: State) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_end` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1227:26 [INFO] [stdout] | [INFO] [stdout] 1227 | const fn assert_end(state: State) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x_write_into` and `x_write_kvs` are never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/trait_helpers.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) trait XHelpers { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 141 | fn x_write_into(self, w: &mut W) -> Output![(), W] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn x_write_kvs( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RuntimeChunks` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait RuntimeChunks { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonValue` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct JsonValue(pub T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonStringFragment` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct JsonStringFragment>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonItemsAfterItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct JsonItemsAfterItem>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonItemsAfterArrayStartBeforeItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct JsonItemsAfterArrayStartBeforeItem>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonItemsBetweenBrackets` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct JsonItemsBetweenBrackets>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Never` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum Never {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateThenJsonValue` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct StateThenJsonValue(Never, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeChainedArrayItems` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ConsumeChainedArrayItems< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeChainedObjectKvs` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ConsumeChainedObjectKvs< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConsumeChainedArrayItemsInitialConsumer` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait ConsumeChainedArrayItemsInitialConsumer {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConsumeChainedObjectKvsInitialConsumer` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait ConsumeChainedObjectKvsInitialConsumer {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_owned` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 61 | impl ConsumeChainedContent { [INFO] [stdout] | ------------------------------------------------------------------ associated function in this implementation [INFO] [stdout] 62 | pub(super) fn new_owned(writer: W) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 71 | impl, I: TraitInitialConsumer> ConsumeChainedContent { [INFO] [stdout] | ----------------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 72 | pub(super) fn new(writer: W, mut started: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImplExtend` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | struct ImplExtend(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `impl_extend` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 102 | / impl, I: TraitInitialConsumer> [INFO] [stdout] 103 | | ImplExtend> [INFO] [stdout] | |______________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | async fn impl_extend( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeArrayItems` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ConsumeArrayItems(pub W); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeObjectKvs` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ConsumeObjectKvs(pub W); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeArrayItemsAndRecord` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) struct ConsumeArrayItemsAndRecord<'a, W> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeObjectKvsAndRecord` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub(super) struct ConsumeObjectKvsAndRecord<'a, W> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a, W> ConsumeContentAndRecord<'a, W> { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 41 | pub(super) const fn new(started: &'a mut bool, writer: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeArrayOpenContentComma` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ConsumeArrayOpenContentComma< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeObjectOpenContentComma` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ConsumeObjectOpenContentComma< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Never` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum Never {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayNextStateOf` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ArrayNextStateOf(Never, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectNextStateOf` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ObjectNextStateOf(Never, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPEN` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | const OPEN: &str = "["; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 72 | / impl [INFO] [stdout] 73 | | TConsumeOpenContentComma [INFO] [stdout] | |___________________________________________________________________- associated function in this implementation [INFO] [stdout] 74 | { [INFO] [stdout] 75 | pub(super) fn new(writer: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPEN` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | const OPEN: &str = "{"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_comma` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 12 | impl GroupOrComma { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | const fn is_comma(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BOTH_NOTHING` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 41 | impl OpenClose { [INFO] [stdout] | -------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub const BOTH_NOTHING: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MakeChunks` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | pub(crate) trait MakeChunks { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MadeChunks` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | pub(crate) struct MadeChunks { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MakeChunkOutput` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:191:6 [INFO] [stdout] | [INFO] [stdout] 191 | enum MakeChunkOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_chunk` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | const fn make_chunk( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_without_validation` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! define_refined_type { [INFO] [stdout] ... [INFO] [stdout] 41 | impl $Type { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) const fn new_without_validation(chunks: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | / define_refined_type!( [INFO] [stdout] 106 | | #[assert_refined(Text, Value)] [INFO] [stdout] 107 | | /// Json string. [INFO] [stdout] 108 | | #[derive(Debug, Clone, Copy)] [INFO] [stdout] 109 | | pub struct JsonString(T); [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_without_validation` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! define_refined_type { [INFO] [stdout] ... [INFO] [stdout] 41 | impl $Type { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) const fn new_without_validation(chunks: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | / define_refined_type!( [INFO] [stdout] 113 | | #[assert_refined(JsonStringFragment)] [INFO] [stdout] 114 | | /// Json string fragment. [INFO] [stdout] 115 | | #[derive(Debug, Clone, Copy)] [INFO] [stdout] 116 | | pub struct JsonStringFragment(T); [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_without_validation` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! define_refined_type { [INFO] [stdout] ... [INFO] [stdout] 41 | impl $Type { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) const fn new_without_validation(chunks: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | / define_refined_type!( [INFO] [stdout] 136 | | #[assert_refined(NonEmptyKvs)] [INFO] [stdout] 137 | | #[derive(Debug, Clone, Copy)] [INFO] [stdout] 138 | | pub struct NonEmptyKvs(T); [INFO] [stdout] 139 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NextItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | struct NextItem(Option); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NextItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | struct NextItem(Option); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `EMPTY_OBJECT` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/value_const.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | impl<'s> Value<&'s str> { [INFO] [stdout] | ----------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) const EMPTY_OBJECT: Self = Self("{}"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunks` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Chunks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Chunks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 12 | fn new(s: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PositionNeedsEscape` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | trait PositionNeedsEscape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl<$lt> $Ty { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn next(&mut self) -> Option<&'a [u8]> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bytes_len_hint` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'this> Chunks<'this> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub const fn bytes_len_hint(&self) -> (usize, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_len_hint` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | const fn bytes_len_hint(escaped: Option<&[u8]>, bytes_len: usize) -> (usize, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_len_hint_impl` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | const fn bytes_len_hint_impl(escaped_len: usize, bytes_len: usize) -> (usize, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_to_consume_chained` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn start_to_consume_chained< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_to_consume_chained` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | fn start_to_consume_chained< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_to_consume_chained` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | fn start_to_consume_chained< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CommaSeparated` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:128:6 [INFO] [stdout] | [INFO] [stdout] 128 | type CommaSeparated = ::ChainWithComma; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Eq` is never constructed [INFO] [stdout] --> packages/cjson/src/utils/const.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Eq(pub A, pub B); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call_once` is never used [INFO] [stdout] --> packages/cjson/src/utils/const.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 3 | impl Eq<&[u8], &[u8]> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 4 | pub(crate) const fn call_once(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson/src/const.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct BooleanTextChunks(Option); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `next_text_chunk` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 91 | impl BooleanTextChunks { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 92 | const fn next_text_chunk() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_ref` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 99 | impl AsRefU8Slice { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 100 | #[ref_cast_custom] [INFO] [stdout] 101 | pub(crate) const fn new_ref(s: &T) -> &Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson/src/const.rs:275:80 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct StatedChunkStr2<'a, const PREV_STATE: u128, const NEXT_STATE: u128>(&'a str); [INFO] [stdout] | --------------- field in this struct ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonItemsAfterItem` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:718:6 [INFO] [stdout] | [INFO] [stdout] 718 | type JsonItemsAfterItem = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonItemsAfterArrayStartBeforeItem` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:726:6 [INFO] [stdout] | [INFO] [stdout] 726 | type JsonItemsAfterArrayStartBeforeItem = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonItemsBetweenBrackets` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:734:6 [INFO] [stdout] | [INFO] [stdout] 734 | type JsonItemsBetweenBrackets = ::IntoCommaSeparatedElements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copied` is never used [INFO] [stdout] --> packages/cjson/src/const/stated_str.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> StatedChunkStr<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) const fn copied(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `NEW`, `is_empty`, and `clear` are never used [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 13 | impl ArrayString { [INFO] [stdout] | -------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) const NEW: Self = Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) const fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) const fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `assert_is_before_top_level_right_bracket`, `assert_is_before_top_level_right_brace`, `remove_group_open`, `remove_group_close`, and `remove_surrounding_group` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 27 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub(crate) const fn assert_is_before_top_level_right_bracket(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) const fn assert_is_before_top_level_right_brace(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub(crate) const fn remove_group_open(init: State, next: State) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | pub(crate) const fn remove_group_close(prev: State, eof: State) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | pub(crate) const fn remove_surrounding_group(init: State, eof: State) -> (u8, u8, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_u128`, `INTERMEDIATE_TAG`, and `EOF_AS_U128` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:829:14 [INFO] [stdout] | [INFO] [stdout] 828 | impl StateInner { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 829 | const fn as_u128(&self) -> u128 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 861 | const INTERMEDIATE_TAG: u8 = 0b10_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 862 | const EOF_AS_U128: u128 = !0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_u64_u8`, `try_from_u64_u8`, `is_in_top_level_array`, and `is_in_top_level_object` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:940:14 [INFO] [stdout] | [INFO] [stdout] 939 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 940 | const fn as_u64_u8(&self) -> (u64, u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | const fn try_from_u64_u8(inner: u64, len: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 972 | const fn is_in_top_level_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | const fn is_in_top_level_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_u8` and `try_from_u8` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:1155:8 [INFO] [stdout] | [INFO] [stdout] 1096 | impl $IntermediateState { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1155 | fn try_from_u8(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1156 | #[into_u8] [INFO] [stdout] 1157 | fn into_u8(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_inter_state` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:1177:21 [INFO] [stdout] | [INFO] [stdout] 1177 | pub(crate) const fn check(prev_state: State, next_state: State, s: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseJsonValueOutput` is never used [INFO] [stdout] --> packages/cjson/src/const/state/deserializer.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | pub(super) enum ParseJsonValueOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | / items.try_for_each(|text| { [INFO] [stdout] 186 | | w.try_consume_text_chunk(",")?; [INFO] [stdout] 187 | | text.try_write_into(w) [INFO] [stdout] 188 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 185 | let _ = items.try_for_each(|text| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cjson v0.1.0 (/opt/rustwide/workdir/packages/cjson) [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> fuzz/src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoTokenTree` [INFO] [stdout] --> fuzz/src/macros.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use typed_quote::{IntoTokenTree, IntoTokens, quote, tokens::IterTokens}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoTokens` and `quote` [INFO] [stdout] --> fuzz/src/types/option.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use typed_quote::{IntoTokens, quote}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypeNonGenericIntoType`, `TypeNonGeneric`, `Type`, `ValueOfOption`, and `ValueTopLevelMaybeFromInput` [INFO] [stdout] --> fuzz/src/types/option.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | types::{Type, TypeNonGeneric, TypeNonGenericIntoType}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | values::{ValueOfOption, ValueTopLevelMaybeFromInput}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TypeOfOption` [INFO] [stdout] --> fuzz/src/types/option.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::TypeOfOption; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> fuzz/src/values.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> fuzz/src/values.rs:269:7 [INFO] [stdout] | [INFO] [stdout] 269 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> fuzz/src/values.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> fuzz/src/values.rs:300:7 [INFO] [stdout] | [INFO] [stdout] 300 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStream` [INFO] [stdout] --> fuzz/src/values.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use proc_macro2::{Literal, TokenStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CJsonEither`, `ExternEither`, and `TypeOfOption` [INFO] [stdout] --> fuzz/src/values.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | CJsonEither, ExternEither, Type, TypeNonGeneric, TypeNonGenericIntoTypeWithInto, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 10 | TypeOfOption, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> fuzz/src/generic_type.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn size_hint(depth: usize) -> (usize, Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx` is never read [INFO] [stdout] --> fuzz/src/program.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) struct ProgramContextMakingGenericsConcrete<'a> { [INFO] [stdout] | ------------------------------------ field in this struct [INFO] [stdout] 40 | ctx: &'a ProgramContext, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgramContextMakingGenericsConcrete` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> fuzz/src/program.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToTokenStream2` is never used [INFO] [stdout] --> fuzz/src/macros.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait ToTokenStream2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RefImplIntoJson` is never used [INFO] [stdout] --> fuzz/src/traits.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | pub(crate) enum RefImplIntoJson {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type_non_generic_into_type` is never used [INFO] [stdout] --> fuzz/src/types.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) trait TypeNonGenericIntoType>: TypeNonGeneric { [INFO] [stdout] | ---------------------- method in this trait [INFO] [stdout] 63 | fn type_non_generic_into_type(self) -> T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fuzz-tests v0.1.0 (/opt/rustwide/workdir/fuzz-tests) [INFO] [stdout] warning: trait `SingletonTypes` is never used [INFO] [stdout] --> fuzz/src/types.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) trait SingletonTypes: [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cjson-fuzz v0.0.0 (/opt/rustwide/workdir/fuzz) [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> fuzz/src/value_from_input.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub(crate) struct NeverValueFromInput { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 165 | ty: T, [INFO] [stdout] 166 | inner: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NeverValueFromInput` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/tests/derive_attrs.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/tests/derive_one.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/tests/test2.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Group` and `Punct` [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Delimiter, Group, Ident, Punct, Span, TokenStream, TokenTree}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson-proc-macro/src/utils.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> packages/cjson-proc-macro/src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `mem::ManuallyDrop`, `process::Output`, and `self` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mem::ManuallyDrop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ops::{self, Add, Deref}, [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] 7 | process::Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use typed_quote::{Either, IntoTokens, ToTokens, WithSpan, maybe_span::MaybeSpan as _, quote}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Ident, Span, TokenTree}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PunctEq` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{ConsumedTokens, MetaAfterPath, ParseError, PunctEq}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/parse_meta_utils.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro::{Span, TokenTree}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoTokens` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use typed_quote::{IntoTokenTree, IntoTokens, WithSpan, quote}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokensExpanded` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | to_json::ctx::custom::{CustomTokensExpanded, TokensExpanded}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomTokens`, `PropExpandedWithErr`, and `PropExpanded` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | CustomTokens, CustomTokensExpandErrorOr, HasConstCircularRefMsg, IntoParseErrorWithSpan, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | PropExpanded, PropExpandedWithErr, StructToDefaultExpandError, TryWithOutSpan as _, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomTokensExpanded`, `HasConstCircularRefMsg`, `PropExpandedWithErr`, `PropExpanded`, `context_with_prop_to::StructToUnspecifiedExpandError`, and `field::ContextSupportsField` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | CustomTokensExpandErrorOr, EqValue, HasConstCircularRefMsg, PropExpanded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 14 | PropExpandedWithErr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | bracket_star::ContextSupportsAtBracketStar, [INFO] [stdout] 16 | context_with_prop_to::StructToUnspecifiedExpandError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | context_with_prop_to_tagged_default::ToInternallyTaggedDefaultWith, [INFO] [stdout] 18 | custom::{CustomTokensExpanded, TokensExpanded}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | field::ContextSupportsField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextWithPropToDefault`, `ContextWithPropToTaggedDefault`, `StructToExpandError`, `StructToTaggedKvsExpandError`, `custom::PropDefaultCustom`, and `only_field` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | context_with_prop_to::{ContextWithPropTo, StructToExpandError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | context_with_prop_to_default::{CalcToUntaggedDefault, ContextWithPropToDefault}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | context_with_prop_to_tagged_default::{ [INFO] [stdout] 35 | CacheForToInternallyTaggedDefault, CalcToTaggedKvsDefault, ContextWithPropToTaggedDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | StructToTaggedKvsDefaultExpandError, StructToTaggedKvsExpandError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | }, [INFO] [stdout] 38 | custom::PropDefaultCustom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | only_field, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:715:7 [INFO] [stdout] | [INFO] [stdout] 715 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:731:7 [INFO] [stdout] | [INFO] [stdout] 731 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:736:7 [INFO] [stdout] | [INFO] [stdout] 736 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1063:7 [INFO] [stdout] | [INFO] [stdout] 1063 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1111:7 [INFO] [stdout] | [INFO] [stdout] 1111 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HasConstCompileTimeChunk`, `into_json_key_colon_value::Sealed as _`, and `runtime_chunks::RuntimeChunks` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | r#const::{HasConstCompileTimeChunk, HasConstState, State, states}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | consume_chained_full::ConsumeChainedStringsFull, runtime_chunks::RuntimeChunks, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | into_json_key_colon_value::Sealed as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MakeChunks`, `consume_open_content::ConsumeArrayOpenItemsIfNotEmpty`, and `never_consume::NeverConsume` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | consume_open_content::ConsumeArrayOpenItemsIfNotEmpty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | json_kinds::{JsonKind, JsonKindContains}, [INFO] [stdout] 21 | never_consume::NeverConsume, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | open_close::{GroupOrComma, MakeChunks, OpenClose}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::ser::consumers::{trait_helpers::base::*, trait_items::base::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::ser::consumers::{trait_helpers::base::*, trait_items::base::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | pub use crate::ser::consumers::{trait_helpers::try_::*, trait_items::try_::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | pub use crate::ser::consumers::{trait_helpers::try_::*, trait_items::try_::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | async_, async_block, async_move_block, await_, de_async, de_async_move, define_async_fn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | pub use crate::ser::consumers::{trait_helpers::async_try::*, trait_items::async_try::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | pub use crate::ser::consumers::{trait_helpers::async_try::*, trait_items::async_try::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `async_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | macro_rules! async_block { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `async_move_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | macro_rules! async_move_block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/define_traits.rs:256:40 [INFO] [stdout] | [INFO] [stdout] 256 | AwaitedOutput, Output, async_, async_block, async_move_block, await_, await_try, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::impl_many` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | utils::impl_many, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Consumed` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{Consumed, HasConstState, IntoJson, json_kinds}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextWithPropTo` [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | context_with_prop_to::{ContextWithPropTo, StructToExpandError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_comma_content_close.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | ser::{IntoJson, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CONSUME_IN_JSON_STRING`, `async_move_block`, `await_`, `de_async`, `only_expr`, and `select_method` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_comma_content_close.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | CONSUME_CHAINED, CONSUME_IN_JSON_STRING, CONSUME_JSON, CONSUME_TEXT_CHUNK, Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | XHelpers as _, async_move_block, await_, await_try, de_async, de_async_move, last_expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] 35 | only_expr, select_method, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConsumeTextChunk` and `IntoTextChunks` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | traits::{ConsumeTextChunk, IntoTextChunks}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConsumeChained` and `ConsumeJson` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ConsumeChained, ConsumeChunksOfNonEmptyArray, ConsumeChunksOfNonEmptyObject, ConsumeJson, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | ser::{IntoJson, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConsumeJson` and `never_consume::NeverConsume` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:9:66 [INFO] [stdout] | [INFO] [stdout] 9 | ConsumeChunksOfNonEmptyArray, ConsumeChunksOfNonEmptyObject, ConsumeJson, ConsumeJsonText, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | never_consume::NeverConsume, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CONSUME_CHAINED`, `CONSUME_IN_JSON_STRING`, `async_move_block`, `await_`, `never_future`, and `select_method` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | CONSUME_CHAINED, CONSUME_IN_JSON_STRING, CONSUME_JSON, CONSUME_TEXT_CHUNK, Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | XHelpers as _, async_move_block, await_, await_try, de_async, de_async_move, last_expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 64 | never_future, only_expr, select_method, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Consumed` and `IntoJson` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | ser::{Consumed, IntoJson, consumers::HasConstState, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ArrayNextStateOf as NextStateOf` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | use self::ArrayNextStateOf as NextStateOf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeArrayItemsAppendCommaIfNotEmpty as TConsumeContentComma` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | use super::ConsumeArrayItemsAppendCommaIfNotEmpty as TConsumeContentComma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeChunksOfNonEmptyArray as TConsumeChunksOfNonEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | use super::ConsumeChunksOfNonEmptyArray as TConsumeChunksOfNonEmpty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::consume_open_content::ConsumeArrayOpenItemsIfNotEmpty as TConsumeOpenItemsIfNotEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | use super::consume_open_content::ConsumeArrayOpenItemsIfNotEmpty as TConsumeOpenItemsIfNotEmpty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_kinds::Array as K` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | use json_kinds::Array as K; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ObjectNextStateOf as NextStateOf` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | use self::ObjectNextStateOf as NextStateOf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeChunksOfNonEmptyObject as TConsumeChunksOfNonEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | use super::ConsumeChunksOfNonEmptyObject as TConsumeChunksOfNonEmpty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConsumeObjectKvsAppendCommaIfNotEmpty as TConsumeContentComma` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | use super::ConsumeObjectKvsAppendCommaIfNotEmpty as TConsumeContentComma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::consume_open_content::ConsumeObjectOpenKvsIfNotEmpty as TConsumeOpenItemsIfNotEmpty` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | use super::consume_open_content::ConsumeObjectOpenKvsIfNotEmpty as TConsumeOpenItemsIfNotEmpty; // TODO: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_kinds::Object as K` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | use json_kinds::Object as K; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_move_block` [INFO] [stdout] --> packages/cjson/src/ser/consumers/json_string_chunks.rs:106:49 [INFO] [stdout] | [INFO] [stdout] 106 | END_JSON_STRING, Output, XHelpers as _, async_move_block, await_try, de_async_move, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:233:11 [INFO] [stdout] | [INFO] [stdout] 233 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/ser/consumers/never_consume.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CONSUME_JSON` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:341:54 [INFO] [stdout] | [INFO] [stdout] 341 | CONSUME_CHAINED, CONSUME_IN_JSON_STRING, CONSUME_JSON, CONSUME_TEXT_CHUNK, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:525:11 [INFO] [stdout] | [INFO] [stdout] 525 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:527:11 [INFO] [stdout] | [INFO] [stdout] 527 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:532:11 [INFO] [stdout] | [INFO] [stdout] 532 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:534:11 [INFO] [stdout] | [INFO] [stdout] 534 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:645:11 [INFO] [stdout] | [INFO] [stdout] 645 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:647:11 [INFO] [stdout] | [INFO] [stdout] 647 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:668:11 [INFO] [stdout] | [INFO] [stdout] 668 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CONSUME_JSON` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:675:25 [INFO] [stdout] | [INFO] [stdout] 675 | use trait_mod::{CONSUME_JSON, CONSUME_JSON_CHUNKS, Output}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:259:7 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HasConstState`, `IntermediateChunkAsStr`, and `ser::traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | r#const::{HasConstCompileTimeChunk, HasConstState, IntermediateChunkAsStr, State}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | ser::traits::ConsumeTextChunk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `async_move_block` and `select` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1193:60 [INFO] [stdout] | [INFO] [stdout] 1193 | CONSUME_TEXT_CHUNK, Output, XHelpers as _, async_, async_move_block, await_try, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1194 | de_async_move, last_expr, only_expr, select, select_expr, select_method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consume_open_content_comma::ConsumeArrayOpenContentComma as TConsumeOpenContentBeforeContent` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1201:21 [INFO] [stdout] | [INFO] [stdout] 1201 | use consume_open_content_comma::ConsumeArrayOpenContentComma as TConsumeOpenContentBeforeContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1410:19 [INFO] [stdout] | [INFO] [stdout] 1410 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1413:19 [INFO] [stdout] | [INFO] [stdout] 1413 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1445:19 [INFO] [stdout] | [INFO] [stdout] 1445 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1448:19 [INFO] [stdout] | [INFO] [stdout] 1448 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1458:19 [INFO] [stdout] | [INFO] [stdout] 1458 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1461:19 [INFO] [stdout] | [INFO] [stdout] 1461 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1485:19 [INFO] [stdout] | [INFO] [stdout] 1485 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consume_open_content_comma::ConsumeObjectOpenContentComma as TConsumeOpenContentBeforeContent` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1217:21 [INFO] [stdout] | [INFO] [stdout] 1217 | use consume_open_content_comma::ConsumeObjectOpenContentComma as TConsumeOpenContentBeforeContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasConstChunk` [INFO] [stdout] --> packages/cjson/src/ser/traits.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use super::iter_text_chunk::{HasConstChunk, IterTextChunk}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cjson_consumer_driven` [INFO] [stdout] --> packages/cjson/src/ser/exts.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(cjson_consumer_driven)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cjson_consumer_driven)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cjson_consumer_driven)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cjson_consumer_driven` [INFO] [stdout] --> packages/cjson/src/ser/exts.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(cjson_consumer_driven))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cjson_consumer_driven)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cjson_consumer_driven)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::r#const::ConstAsJsonValueStr` [INFO] [stdout] --> packages/cjson/src/ser/int/const.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::r#const::ConstAsJsonValueStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `texts` [INFO] [stdout] --> packages/cjson/src/ser/string.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ser::{ToJson, texts}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `option_map` [INFO] [stdout] --> packages/cjson/src/utils.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | macro_rules! option_map { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `option_unwrap_or` [INFO] [stdout] --> packages/cjson/src/utils.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | macro_rules! option_unwrap_or { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `option_map` and `option_unwrap_or` [INFO] [stdout] --> packages/cjson/src/utils.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) use {option_if_some_or, option_map, option_map_or, option_unwrap_or}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/const.rs:509:7 [INFO] [stdout] | [INFO] [stdout] 509 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::transmute` [INFO] [stdout] --> packages/cjson/src/const.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{marker::PhantomData, mem::transmute}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array`, `EmptyOrCommaSeparatedElements`, `JsonString`, and `utils::impl_many` [INFO] [stdout] --> packages/cjson/src/const.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | self, Array, ConsumeTextChunk, EmptyOrCommaSeparatedElements, IntoTextChunks, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | JsonString, TryConsumeTextChunk, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | utils::impl_many, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::HasConstJsonValue` [INFO] [stdout] --> packages/cjson/src/const/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::HasConstJsonValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/const/state.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/const/state.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> packages/cjson/src/const/state.rs:864:11 [INFO] [stdout] | [INFO] [stdout] 864 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter` [INFO] [stdout] --> packages/cjson/src/const/state.rs:1224:16 [INFO] [stdout] | [INFO] [stdout] 1224 | use core::{iter, marker::PhantomData}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IterNonLending` [INFO] [stdout] --> packages/cjson/src/const/state.rs:1227:42 [INFO] [stdout] | [INFO] [stdout] 1227 | iter_text_chunk::{HasConstChunk, IterNonLending}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> packages/cjson/src/const/state/deserializer.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> fuzz/src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoTokenTree` [INFO] [stdout] --> fuzz/src/macros.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use typed_quote::{IntoTokenTree, IntoTokens, quote, tokens::IterTokens}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1132:31 [INFO] [stdout] | [INFO] [stdout] 1132 | Some(TokenTree::Group(g)) => MetaAfterPath::Group(g), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoTokens` and `quote` [INFO] [stdout] --> fuzz/src/types/option.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use typed_quote::{IntoTokens, quote}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypeNonGenericIntoType`, `TypeNonGeneric`, `Type`, `ValueOfOption`, and `ValueTopLevelMaybeFromInput` [INFO] [stdout] --> fuzz/src/types/option.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | types::{Type, TypeNonGeneric, TypeNonGenericIntoType}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | values::{ValueOfOption, ValueTopLevelMaybeFromInput}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TypeOfOption` [INFO] [stdout] --> fuzz/src/types/option.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::TypeOfOption; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> fuzz/src/values.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> fuzz/src/values.rs:269:7 [INFO] [stdout] | [INFO] [stdout] 269 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `todo` [INFO] [stdout] --> fuzz/src/values.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | #[cfg(todo)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `remove` [INFO] [stdout] --> fuzz/src/values.rs:300:7 [INFO] [stdout] | [INFO] [stdout] 300 | #[cfg(remove)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStream` [INFO] [stdout] --> fuzz/src/values.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use proc_macro2::{Literal, TokenStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CJsonEither`, `ExternEither`, and `TypeOfOption` [INFO] [stdout] --> fuzz/src/values.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | CJsonEither, ExternEither, Type, TypeNonGeneric, TypeNonGenericIntoTypeWithInto, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 10 | TypeOfOption, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test2` is never used [INFO] [stdout] --> packages/cjson/tests/test2.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn test2(w: impl ConsumeJson) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test2_const` is never used [INFO] [stdout] --> packages/cjson/tests/test2.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn test2_const(w: impl ConsumeJson) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix_span` and `block` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 570 | Const { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 571 | prefix_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 572 | block: TokenTree, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix_span` and `paren_expr` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/lib.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 574 | Runtime { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 575 | prefix_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 576 | paren_expr: TokenTree, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultExt` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait ResultExt: Into> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultWithPayload` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait ResultWithPayload: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_unwrap_payload` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub trait TryUnwrapPayload { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 75 | fn try_unwrap_payload(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParsingTokenStreamCow` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | pub type ParsingTokenStreamCow<'a> = ParsingTokenStream>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 329 | impl TokenStreamCow<'_> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 344 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IterTokenTreeCow` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 356 | pub trait IterTokenTreeCow {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_expect_err` and `parse_where_clause` are never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:431:8 [INFO] [stdout] | [INFO] [stdout] 390 | impl ParsingTokenStream { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 431 | fn make_expect_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | pub fn parse_where_clause( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vis` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1110:9 [INFO] [stdout] | [INFO] [stdout] 1109 | pub struct ParseItemStart { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 1110 | pub vis: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pub` and `paren` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1203:5 [INFO] [stdout] | [INFO] [stdout] 1202 | pub struct SomeVisibility { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 1203 | r#pub: IdentPub, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1204 | paren: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_tokens` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1208:12 [INFO] [stdout] | [INFO] [stdout] 1207 | impl SomeVisibility { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 1208 | pub fn into_tokens(self) -> impl IntoTokens { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `group` and `kind` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1217:5 [INFO] [stdout] | [INFO] [stdout] 1216 | pub struct SomeVisibilityParen { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 1217 | group: GroupParen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1218 | kind: SomeVisibilityParenKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1250:11 [INFO] [stdout] | [INFO] [stdout] 1250 | Crate(IdentCrate), [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] 1250 - Crate(IdentCrate), [INFO] [stdout] 1250 + Crate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1251:11 [INFO] [stdout] | [INFO] [stdout] 1251 | Self_(IdentSelf), [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] 1251 - Self_(IdentSelf), [INFO] [stdout] 1251 + Self_(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1252:11 [INFO] [stdout] | [INFO] [stdout] 1252 | Super(IdentSuper), [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] 1252 - Super(IdentSuper), [INFO] [stdout] 1252 + Super(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1253:8 [INFO] [stdout] | [INFO] [stdout] 1253 | In(IdentIn, proc_macro::token_stream::IntoIter), [INFO] [stdout] | -- ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 1253 - In(IdentIn, proc_macro::token_stream::IntoIter), [INFO] [stdout] 1253 + In((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unexpected_eof_after` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1350:8 [INFO] [stdout] | [INFO] [stdout] 1349 | impl ParseError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 1350 | fn unexpected_eof_after(after: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1437:23 [INFO] [stdout] | [INFO] [stdout] 1437 | pub struct PunctPound(Punct); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1443:23 [INFO] [stdout] | [INFO] [stdout] 1443 | pub struct PunctColon(Punct); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1445:22 [INFO] [stdout] | [INFO] [stdout] 1445 | pub struct PunctSemi(Punct); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `span` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1448:12 [INFO] [stdout] | [INFO] [stdout] 1447 | impl PunctSemi { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 1448 | pub fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1472:21 [INFO] [stdout] | [INFO] [stdout] 1472 | pub struct IdentPub(Ident); [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1474:23 [INFO] [stdout] | [INFO] [stdout] 1474 | pub struct IdentCrate(Ident); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1476:22 [INFO] [stdout] | [INFO] [stdout] 1476 | pub struct IdentSelf(Ident); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1478:23 [INFO] [stdout] | [INFO] [stdout] 1478 | pub struct IdentSuper(Ident); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1480:20 [INFO] [stdout] | [INFO] [stdout] 1480 | pub struct IdentIn(Ident); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vis` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1536:9 [INFO] [stdout] | [INFO] [stdout] 1535 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 1536 | pub vis: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1549:32 [INFO] [stdout] | [INFO] [stdout] 1549 | Paren { paren: GroupParen, semi: PunctSemi }, [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1551:10 [INFO] [stdout] | [INFO] [stdout] 1551 | Semi(PunctSemi), [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] 1551 - Semi(PunctSemi), [INFO] [stdout] 1551 + Semi(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_token_stream` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1555:12 [INFO] [stdout] | [INFO] [stdout] 1554 | impl StructData { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 1555 | pub fn into_token_stream(self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_eof` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1818:12 [INFO] [stdout] | [INFO] [stdout] 1798 | impl<'a> ParsingAfterConsumedTokens<'a> { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1818 | pub fn expect_eof(&self) -> Result<(), ParseError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Type` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic.rs:1937:12 [INFO] [stdout] | [INFO] [stdout] 1937 | pub struct Type(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MatchBytes` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/ident_eq.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait MatchBytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_slice_or_truncated` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/syn_generic/ident_eq.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 72 | impl IdentToBuf { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub const fn as_slice_or_truncated(&self) -> Result<&[u8], &[u8; N]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/item.rs:979:5 [INFO] [stdout] | [INFO] [stdout] 978 | pub struct GroupMaybeFromEq { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 979 | eq: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContextOfStructField` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:179:6 [INFO] [stdout] | [INFO] [stdout] 179 | type ContextOfStructField<'a> = field::ContextOfField<&'a mut ContextOfStruct>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructFieldToDefault` is never constructed [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:420:8 [INFO] [stdout] | [INFO] [stdout] 420 | struct StructFieldToDefault; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take_for_calculating` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:533:8 [INFO] [stdout] | [INFO] [stdout] 529 | impl MaybeCalculating { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 533 | fn take_for_calculating(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `CIRCULAR_REF` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx.rs:642:11 [INFO] [stdout] | [INFO] [stdout] 641 | impl CustomTokensExpandErrorOr { [INFO] [stdout] | ------------------------------------------------------------ associated constant in this implementation [INFO] [stdout] 642 | const CIRCULAR_REF: Self = Self::Custom(CustomTokensExpandError::CircularRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mut_deref` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/field.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 77 | impl<'a, Ctx: ?Sized + ContextSupportsField> ContextOfField<&'a mut &mut Ctx> { [INFO] [stdout] | ----------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 78 | pub(super) fn mut_deref(self) -> ContextOfField<&'a mut Ctx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/field.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl ContextOfField { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 95 | pub(super) fn as_mut(&mut self) -> ContextOfField<&mut Ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span_tag` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_tag.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | Tagged { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 33 | span_tag: Span, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_expand_to_tagged_kvs_default` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to_tagged_default.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ContextWithPropToTaggedDefault: Sized + ToInternallyTaggedDefaultWith { [INFO] [stdout] | ------------------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 173 | fn try_expand_to_tagged_kvs_default( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `expand_default` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/custom.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl PropDefaultCustom> { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn expand_default<'a, Ctx>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct SpecifiedTagMode { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 74 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecifiedTagMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `only_field_index` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 255 | only_field_index: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContextOfEnumVariantField` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:426:6 [INFO] [stdout] | [INFO] [stdout] 426 | type ContextOfEnumVariantField<'a> = field::ContextOfField>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EnumToExpandError` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1450:6 [INFO] [stdout] | [INFO] [stdout] 1450 | enum EnumToExpandError {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1517:8 [INFO] [stdout] | [INFO] [stdout] 1516 | impl<'a> ContextAtBracketQuestionOfEnumItemTo<'a> { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] 1517 | fn as_mut(&mut self) -> ContextAtBracketQuestionOfEnumItemTo<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `question_span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1529:5 [INFO] [stdout] | [INFO] [stdout] 1527 | pub struct ContextAtBracketQuestionInsideBracketStarOfEnumItemTo<'a, 'star> { [INFO] [stdout] | ----------------------------------------------------- field in this struct [INFO] [stdout] 1528 | ctx_star: &'star mut ContextAtBracketStarOfEnumVariant<'a>, [INFO] [stdout] 1529 | question_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `question_span` is never read [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1534:5 [INFO] [stdout] | [INFO] [stdout] 1532 | pub struct ContextAtBracketStarInsideQuestionOfEnumItemTo<'a> { [INFO] [stdout] | ---------------------------------------------- field in this struct [INFO] [stdout] 1533 | ctx_star: ContextAtBracketStarOfEnumVariant<'a>, [INFO] [stdout] 1534 | question_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cache_for_unspecified` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl InheritedProp { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn cache_for_unspecified(&mut self) -> &mut Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Calculated` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | enum Calculated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_ts` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/expand_props.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn expand_ts( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExpandTs` is never used [INFO] [stdout] --> packages/cjson-proc-macro/src/expand_props.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | pub type ExpandTs = MaybeIntact>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 36 | ctx: &'a mut Ctx, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 43 | ) -> Result<&mut CustomTokensExpanded, &mut D> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 | ) -> Result<&'a mut CustomTokensExpanded, &'a mut D> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 121 | ctx: &'a mut Ctx, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 124 | ) -> &mut D { [INFO] [stdout] | ^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 124 | ) -> &'a mut D { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1482:43 [INFO] [stdout] | [INFO] [stdout] 1482 | IMPL_END_WITH_RIGHT(self).impl_end_with_right_brace(yes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ --- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1476:43 [INFO] [stdout] | [INFO] [stdout] 1476 | IMPL_END_WITH_RIGHT(self).impl_end_with_right_bracket(yes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ --- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsumeJson` [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_comma_content_close.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | ConsumeChunksOfNonEmptyArray, ConsumeChunksOfNonEmptyObject, ConsumeJson, Consumed, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers/json_string_chunks.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | ser::{IntoJson, json_kinds, traits::ConsumeTextChunk}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoTextChunks` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | traits::{self, ConsumeTextChunk, IntoTextChunks as _}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsumeTextChunk` [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | traits::{self, ConsumeTextChunk, IntoTextChunks as _}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsumeJson` [INFO] [stdout] --> packages/cjson/src/ser/int.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ConsumeJson, IntoJson, ToJsonByCopyIntoJson, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:40:70 [INFO] [stdout] | [INFO] [stdout] 40 | fn runtime_chunks_write_into(self, w: &mut W) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/never.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/either.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/bracketed.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/braced.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/quoted_json_string_fragment.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/ser/texts/chain.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:97:75 [INFO] [stdout] | [INFO] [stdout] 97 | fn write_into(self, w: &mut W) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | w: &mut W, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StrAsArrayVec` is more private than the item `StatedChunkBuf::::inner` [INFO] [stdout] --> packages/cjson/src/const/stated_str_as_array_vec.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub const fn inner(&self) -> &StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StatedChunkBuf::::inner` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `StrAsArrayVec` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/cjson/src/const/str_as_array_vec.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StrAsArrayVec` is more private than the item `StatedChunkBuf::::into_inner` [INFO] [stdout] --> packages/cjson/src/const/stated_str_as_array_vec.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub const fn into_inner(self) -> StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StatedChunkBuf::::into_inner` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `StrAsArrayVec` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/cjson/src/const/str_as_array_vec.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct StrAsArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_start` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1208:26 [INFO] [stdout] | [INFO] [stdout] 1208 | const fn assert_start(state: State) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_end` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1211:26 [INFO] [stdout] | [INFO] [stdout] 1211 | const fn assert_end(state: State) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_start` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1224:26 [INFO] [stdout] | [INFO] [stdout] 1224 | const fn assert_start(state: State) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_end` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers.rs:1227:26 [INFO] [stdout] | [INFO] [stdout] 1227 | const fn assert_end(state: State) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x_write_into` and `x_write_kvs` are never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/trait_helpers.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) trait XHelpers { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 141 | fn x_write_into(self, w: &mut W) -> Output![(), W] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn x_write_kvs( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RuntimeChunks` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait RuntimeChunks { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonValue` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct JsonValue(pub T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonStringFragment` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct JsonStringFragment>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonItemsAfterItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct JsonItemsAfterItem>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonItemsAfterArrayStartBeforeItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct JsonItemsAfterArrayStartBeforeItem>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonItemsBetweenBrackets` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct JsonItemsBetweenBrackets>(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Never` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum Never {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateThenJsonValue` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/runtime_chunks.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct StateThenJsonValue(Never, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeChainedArrayItems` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ConsumeChainedArrayItems< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeChainedObjectKvs` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ConsumeChainedObjectKvs< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConsumeChainedArrayItemsInitialConsumer` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait ConsumeChainedArrayItemsInitialConsumer {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConsumeChainedObjectKvsInitialConsumer` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait ConsumeChainedObjectKvsInitialConsumer {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_owned` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 61 | impl ConsumeChainedContent { [INFO] [stdout] | ------------------------------------------------------------------ associated function in this implementation [INFO] [stdout] 62 | pub(super) fn new_owned(writer: W) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 71 | impl, I: TraitInitialConsumer> ConsumeChainedContent { [INFO] [stdout] | ----------------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 72 | pub(super) fn new(writer: W, mut started: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImplExtend` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | struct ImplExtend(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `impl_extend` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_chained_content.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 102 | / impl, I: TraitInitialConsumer> [INFO] [stdout] 103 | | ImplExtend> [INFO] [stdout] | |______________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | async fn impl_extend( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeArrayItems` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ConsumeArrayItems(pub W); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeObjectKvs` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ConsumeObjectKvs(pub W); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeArrayItemsAndRecord` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) struct ConsumeArrayItemsAndRecord<'a, W> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeObjectKvsAndRecord` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub(super) struct ConsumeObjectKvsAndRecord<'a, W> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_content_and_record.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a, W> ConsumeContentAndRecord<'a, W> { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 41 | pub(super) const fn new(started: &'a mut bool, writer: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeArrayOpenContentComma` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ConsumeArrayOpenContentComma< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeObjectOpenContentComma` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ConsumeObjectOpenContentComma< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Never` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum Never {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayNextStateOf` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ArrayNextStateOf(Never, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectNextStateOf` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ObjectNextStateOf(Never, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPEN` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | const OPEN: &str = "["; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 72 | / impl [INFO] [stdout] 73 | | TConsumeOpenContentComma [INFO] [stdout] | |___________________________________________________________________- associated function in this implementation [INFO] [stdout] 74 | { [INFO] [stdout] 75 | pub(super) fn new(writer: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPEN` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/consume_open_content_comma.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | const OPEN: &str = "{"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_comma` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 12 | impl GroupOrComma { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | const fn is_comma(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BOTH_NOTHING` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 41 | impl OpenClose { [INFO] [stdout] | -------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub const BOTH_NOTHING: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MakeChunks` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | pub(crate) trait MakeChunks { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MadeChunks` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | pub(crate) struct MadeChunks { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MakeChunkOutput` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:191:6 [INFO] [stdout] | [INFO] [stdout] 191 | enum MakeChunkOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_chunk` is never used [INFO] [stdout] --> packages/cjson/src/ser/consumers/open_close.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | const fn make_chunk( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_without_validation` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! define_refined_type { [INFO] [stdout] ... [INFO] [stdout] 41 | impl $Type { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) const fn new_without_validation(chunks: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | / define_refined_type!( [INFO] [stdout] 106 | | #[assert_refined(Text, Value)] [INFO] [stdout] 107 | | /// Json string. [INFO] [stdout] 108 | | #[derive(Debug, Clone, Copy)] [INFO] [stdout] 109 | | pub struct JsonString(T); [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_without_validation` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! define_refined_type { [INFO] [stdout] ... [INFO] [stdout] 41 | impl $Type { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) const fn new_without_validation(chunks: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | / define_refined_type!( [INFO] [stdout] 113 | | #[assert_refined(JsonStringFragment)] [INFO] [stdout] 114 | | /// Json string fragment. [INFO] [stdout] 115 | | #[derive(Debug, Clone, Copy)] [INFO] [stdout] 116 | | pub struct JsonStringFragment(T); [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_without_validation` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! define_refined_type { [INFO] [stdout] ... [INFO] [stdout] 41 | impl $Type { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) const fn new_without_validation(chunks: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | / define_refined_type!( [INFO] [stdout] 136 | | #[assert_refined(NonEmptyKvs)] [INFO] [stdout] 137 | | #[derive(Debug, Clone, Copy)] [INFO] [stdout] 138 | | pub struct NonEmptyKvs(T); [INFO] [stdout] 139 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NextItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | struct NextItem(Option); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NextItem` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter/elements.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | struct NextItem(Option); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunks` is never constructed [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Chunks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Chunks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 12 | fn new(s: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PositionNeedsEscape` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | trait PositionNeedsEscape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl<$lt> $Ty { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn next(&mut self) -> Option<&'a [u8]> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bytes_len_hint` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'this> Chunks<'this> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub const fn bytes_len_hint(&self) -> (usize, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_len_hint` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | const fn bytes_len_hint(escaped: Option<&[u8]>, bytes_len: usize) -> (usize, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_len_hint_impl` is never used [INFO] [stdout] --> packages/cjson/src/ser/texts/str_to_json_string_fragment/const.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | const fn bytes_len_hint_impl(escaped_len: usize, bytes_len: usize) -> (usize, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format` is never used [INFO] [stdout] --> packages/cjson/src/ser/int/impl_display.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub(super) fn format( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_to_consume_chained` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn start_to_consume_chained< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_to_consume_chained` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | fn start_to_consume_chained< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_to_consume_chained` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | fn start_to_consume_chained< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CommaSeparated` is never used [INFO] [stdout] --> packages/cjson/src/values/chain.rs:128:6 [INFO] [stdout] | [INFO] [stdout] 128 | type CommaSeparated = ::ChainWithComma; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Eq` is never constructed [INFO] [stdout] --> packages/cjson/src/utils/const.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Eq(pub A, pub B); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call_once` is never used [INFO] [stdout] --> packages/cjson/src/utils/const.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 3 | impl Eq<&[u8], &[u8]> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 4 | pub(crate) const fn call_once(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson/src/const.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct BooleanTextChunks(Option); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `next_text_chunk` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 91 | impl BooleanTextChunks { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 92 | const fn next_text_chunk() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_ref` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 99 | impl AsRefU8Slice { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 100 | #[ref_cast_custom] [INFO] [stdout] 101 | pub(crate) const fn new_ref(s: &T) -> &Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> packages/cjson/src/const.rs:275:80 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct StatedChunkStr2<'a, const PREV_STATE: u128, const NEXT_STATE: u128>(&'a str); [INFO] [stdout] | --------------- field in this struct ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonItemsAfterItem` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:718:6 [INFO] [stdout] | [INFO] [stdout] 718 | type JsonItemsAfterItem = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonItemsAfterArrayStartBeforeItem` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:726:6 [INFO] [stdout] | [INFO] [stdout] 726 | type JsonItemsAfterArrayStartBeforeItem = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonItemsBetweenBrackets` is never used [INFO] [stdout] --> packages/cjson/src/const.rs:734:6 [INFO] [stdout] | [INFO] [stdout] 734 | type JsonItemsBetweenBrackets = ::IntoCommaSeparatedElements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copied` is never used [INFO] [stdout] --> packages/cjson/src/const/stated_str.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> StatedChunkStr<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) const fn copied(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `clear` are never used [INFO] [stdout] --> packages/cjson/src/const/array_string.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 13 | impl ArrayString { [INFO] [stdout] | -------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) const fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) const fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `assert_is_before_top_level_right_bracket`, `assert_is_before_top_level_right_brace`, `remove_group_open`, `remove_group_close`, and `remove_surrounding_group` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 27 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub(crate) const fn assert_is_before_top_level_right_bracket(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) const fn assert_is_before_top_level_right_brace(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub(crate) const fn remove_group_open(init: State, next: State) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | pub(crate) const fn remove_group_close(prev: State, eof: State) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | pub(crate) const fn remove_surrounding_group(init: State, eof: State) -> (u8, u8, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_u128`, `INTERMEDIATE_TAG`, and `EOF_AS_U128` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:829:14 [INFO] [stdout] | [INFO] [stdout] 828 | impl StateInner { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 829 | const fn as_u128(&self) -> u128 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 861 | const INTERMEDIATE_TAG: u8 = 0b10_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 862 | const EOF_AS_U128: u128 = !0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_u64_u8`, `try_from_u64_u8`, `is_in_top_level_array`, and `is_in_top_level_object` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:940:14 [INFO] [stdout] | [INFO] [stdout] 939 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 940 | const fn as_u64_u8(&self) -> (u64, u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | const fn try_from_u64_u8(inner: u64, len: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 972 | const fn is_in_top_level_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | const fn is_in_top_level_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_u8` and `try_from_u8` are never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:1155:8 [INFO] [stdout] | [INFO] [stdout] 1096 | impl $IntermediateState { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1155 | fn try_from_u8(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1156 | #[into_u8] [INFO] [stdout] 1157 | fn into_u8(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_inter_state` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> packages/cjson/src/const/state.rs:1177:21 [INFO] [stdout] | [INFO] [stdout] 1177 | pub(crate) const fn check(prev_state: State, next_state: State, s: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseJsonValueOutput` is never used [INFO] [stdout] --> packages/cjson/src/const/state/deserializer.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | pub(super) enum ParseJsonValueOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/cjson/src/ser/texts/array_of_iter.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | / items.try_for_each(|text| { [INFO] [stdout] 186 | | w.try_consume_text_chunk(",")?; [INFO] [stdout] 187 | | text.try_write_into(w) [INFO] [stdout] 188 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 185 | let _ = items.try_for_each(|text| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> fuzz/src/generic_type.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn size_hint(depth: usize) -> (usize, Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx` is never read [INFO] [stdout] --> fuzz/src/program.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) struct ProgramContextMakingGenericsConcrete<'a> { [INFO] [stdout] | ------------------------------------ field in this struct [INFO] [stdout] 40 | ctx: &'a ProgramContext, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgramContextMakingGenericsConcrete` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> fuzz/src/program.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToTokenStream2` is never used [INFO] [stdout] --> fuzz/src/macros.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait ToTokenStream2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RefImplIntoJson` is never used [INFO] [stdout] --> fuzz/src/traits.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | pub(crate) enum RefImplIntoJson {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type_non_generic_into_type` is never used [INFO] [stdout] --> fuzz/src/types.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) trait TypeNonGenericIntoType>: TypeNonGeneric { [INFO] [stdout] | ---------------------- method in this trait [INFO] [stdout] 63 | fn type_non_generic_into_type(self) -> T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SingletonTypes` is never used [INFO] [stdout] --> fuzz/src/types.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) trait SingletonTypes: [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> fuzz/src/value_from_input.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub(crate) struct NeverValueFromInput { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 165 | ty: T, [INFO] [stdout] 166 | inner: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NeverValueFromInput` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `indexmap` [INFO] [stderr] --> fuzz/Cargo.toml:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | indexmap = { version = "2.14.0", features = ["arbitrary"] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `indexmap` [INFO] [stderr] warning: unused dependency `libfuzzer-sys` [INFO] [stderr] --> fuzz/Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | libfuzzer-sys = "0.4" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `libfuzzer-sys` [INFO] [stderr] warning: unused dependency `tempfile` [INFO] [stderr] --> fuzz/Cargo.toml:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | tempfile = "3" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tempfile` [INFO] [stderr] warning: `cjson-fuzz` (manifest) generated 3 warnings [INFO] [stderr] warning: unused dependency `quote` [INFO] [stderr] --> packages/cjson-proc-macro/Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | quote = "1.0" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `quote` [INFO] [stderr] warning: `cjson-proc-macro` (manifest) generated 1 warning [INFO] [stderr] warning: unused dependency `cjson` [INFO] [stderr] --> fuzz-tests/Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | cjson = { path = "../packages/cjson", features = ["serde", "either"] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `cjson` [INFO] [stderr] warning: unused dependency `serde_json` [INFO] [stderr] --> fuzz-tests/Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / serde_json = { version = "1", features = [ [INFO] [stderr] 12 | | "arbitrary_precision", [INFO] [stderr] 13 | | "preserve_order", [INFO] [stderr] 14 | | ] } [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_json` [INFO] [stderr] warning: `fuzz-tests` (manifest) generated 2 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 15.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: higher-kinded-types v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9c3fb474665b5b9650cec6685ea1d2f2ede86293e7ba6602a9b464db7a38d52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c3fb474665b5b9650cec6685ea1d2f2ede86293e7ba6602a9b464db7a38d52b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::convert::identity` [INFO] [stderr] --> packages/cjson-proc-macro/src/lib.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::convert::identity; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Group` and `Punct` [INFO] [stderr] --> packages/cjson-proc-macro/src/lib.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | use proc_macro::{Delimiter, Group, Ident, Punct, Span, TokenStream, TokenTree}; [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `todo` [INFO] [stderr] --> packages/cjson-proc-macro/src/utils.rs:60:7 [INFO] [stderr] | [INFO] [stderr] 60 | #[cfg(todo)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::fmt` [INFO] [stderr] --> packages/cjson-proc-macro/src/utils.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use core::fmt; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Add`, `mem::ManuallyDrop`, `process::Output`, and `self` [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | mem::ManuallyDrop, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | ops::{self, Add, Deref}, [INFO] [stderr] | ^^^^ ^^^ [INFO] [stderr] 7 | process::Output, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ToTokens` [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:12:39 [INFO] [stderr] | [INFO] [stderr] 12 | use typed_quote::{Either, IntoTokens, ToTokens, WithSpan, maybe_span::MaybeSpan as _, quote}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::vec` [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::vec; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TokenTree` [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | use proc_macro::{Ident, Span, TokenTree}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PunctEq` [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic/parse_meta.rs:7:56 [INFO] [stderr] | [INFO] [stderr] 7 | use super::{ConsumedTokens, MetaAfterPath, ParseError, PunctEq}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::vec` [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic/parse_meta_utils.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::vec; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TokenTree` [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic/parse_meta_utils.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use proc_macro::{Span, TokenTree}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `IntoTokens` [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx.rs:4:34 [INFO] [stderr] | [INFO] [stderr] 4 | use typed_quote::{IntoTokenTree, IntoTokens, WithSpan, quote}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TokensExpanded` [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to.rs:8:50 [INFO] [stderr] | [INFO] [stderr] 8 | to_json::ctx::custom::{CustomTokensExpanded, TokensExpanded}, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CustomTokens`, `PropExpandedWithErr`, and `PropExpanded` [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | CustomTokens, CustomTokensExpandErrorOr, HasConstCircularRefMsg, IntoParseErrorWithSpan, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 13 | PropExpanded, PropExpandedWithErr, StructToDefaultExpandError, TryWithOutSpan as _, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CustomTokensExpanded`, `HasConstCircularRefMsg`, `PropExpandedWithErr`, `PropExpanded`, `context_with_prop_to::StructToUnspecifiedExpandError`, and `field::ContextSupportsField` [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:13:49 [INFO] [stderr] | [INFO] [stderr] 13 | CustomTokensExpandErrorOr, EqValue, HasConstCircularRefMsg, PropExpanded, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] 14 | PropExpandedWithErr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | bracket_star::ContextSupportsAtBracketStar, [INFO] [stderr] 16 | context_with_prop_to::StructToUnspecifiedExpandError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 17 | context_with_prop_to_tagged_default::ToInternallyTaggedDefaultWith, [INFO] [stderr] 18 | custom::{CustomTokensExpanded, TokensExpanded}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 19 | field::ContextSupportsField, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ContextWithPropToDefault`, `ContextWithPropToTaggedDefault`, `StructToExpandError`, `StructToTaggedKvsExpandError`, `custom::PropDefaultCustom`, and `only_field` [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:32:47 [INFO] [stderr] | [INFO] [stderr] 32 | context_with_prop_to::{ContextWithPropTo, StructToExpandError}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 33 | context_with_prop_to_default::{CalcToUntaggedDefault, ContextWithPropToDefault}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 34 | context_with_prop_to_tagged_default::{ [INFO] [stderr] 35 | CacheForToInternallyTaggedDefault, CalcToTaggedKvsDefault, ContextWithPropToTaggedDefault, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 36 | StructToTaggedKvsDefaultExpandError, StructToTaggedKvsExpandError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 37 | }, [INFO] [stderr] 38 | custom::PropDefaultCustom, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | only_field, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ContextWithPropTo` [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:32:28 [INFO] [stderr] | [INFO] [stderr] 32 | context_with_prop_to::{ContextWithPropTo, StructToExpandError}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `g` [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1132:31 [INFO] [stderr] | [INFO] [stderr] 1132 | Some(TokenTree::Group(g)) => MetaAfterPath::Group(g), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Config` is never constructed [INFO] [stderr] --> packages/cjson-proc-macro/src/lib.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 80 | struct Config { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `prefix_span` and `block` are never read [INFO] [stderr] --> packages/cjson-proc-macro/src/lib.rs:571:9 [INFO] [stderr] | [INFO] [stderr] 570 | Const { [INFO] [stderr] | ----- fields in this variant [INFO] [stderr] 571 | prefix_span: Span, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 572 | block: TokenTree, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `prefix_span` and `paren_expr` are never read [INFO] [stderr] --> packages/cjson-proc-macro/src/lib.rs:575:9 [INFO] [stderr] | [INFO] [stderr] 574 | Runtime { [INFO] [stderr] | ------- fields in this variant [INFO] [stderr] 575 | prefix_span: Span, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 576 | paren_expr: TokenTree, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ResultExt` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:47:11 [INFO] [stderr] | [INFO] [stderr] 47 | pub trait ResultExt: Into> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ResultWithPayload` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:52:11 [INFO] [stderr] | [INFO] [stderr] 52 | pub trait ResultWithPayload: [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `try_unwrap_payload` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 72 | pub trait TryUnwrapPayload { [INFO] [stderr] | ---------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 75 | fn try_unwrap_payload(self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ParsingTokenStreamCow` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:322:10 [INFO] [stderr] | [INFO] [stderr] 322 | pub type ParsingTokenStreamCow<'a> = ParsingTokenStream>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `len` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:344:8 [INFO] [stderr] | [INFO] [stderr] 329 | impl TokenStreamCow<'_> { [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 344 | fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `IterTokenTreeCow` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:356:11 [INFO] [stderr] | [INFO] [stderr] 356 | pub trait IterTokenTreeCow {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `make_expect_err` and `parse_where_clause` are never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:431:8 [INFO] [stderr] | [INFO] [stderr] 390 | impl ParsingTokenStream { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 431 | fn make_expect_err( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 676 | pub fn parse_where_clause( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `vis` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1110:9 [INFO] [stderr] | [INFO] [stderr] 1109 | pub struct ParseItemStart { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 1110 | pub vis: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `pub` and `paren` are never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1203:5 [INFO] [stderr] | [INFO] [stderr] 1202 | pub struct SomeVisibility { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 1203 | r#pub: IdentPub, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 1204 | paren: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `into_tokens` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1208:12 [INFO] [stderr] | [INFO] [stderr] 1207 | impl SomeVisibility { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] 1208 | pub fn into_tokens(self) -> impl IntoTokens { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `group` and `kind` are never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1217:5 [INFO] [stderr] | [INFO] [stderr] 1216 | pub struct SomeVisibilityParen { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 1217 | group: GroupParen, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 1218 | kind: SomeVisibilityParenKind, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1250:11 [INFO] [stderr] | [INFO] [stderr] 1250 | Crate(IdentCrate), [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] 1250 - Crate(IdentCrate), [INFO] [stderr] 1250 + Crate(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1251:11 [INFO] [stderr] | [INFO] [stderr] 1251 | Self_(IdentSelf), [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] 1251 - Self_(IdentSelf), [INFO] [stderr] 1251 + Self_(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1252:11 [INFO] [stderr] | [INFO] [stderr] 1252 | Super(IdentSuper), [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] 1252 - Super(IdentSuper), [INFO] [stderr] 1252 + Super(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1253:8 [INFO] [stderr] | [INFO] [stderr] 1253 | In(IdentIn, proc_macro::token_stream::IntoIter), [INFO] [stderr] | -- ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 1253 - In(IdentIn, proc_macro::token_stream::IntoIter), [INFO] [stderr] 1253 + In((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: associated function `unexpected_eof_after` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1350:8 [INFO] [stderr] | [INFO] [stderr] 1349 | impl ParseError { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 1350 | fn unexpected_eof_after(after: Span) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1437:23 [INFO] [stderr] | [INFO] [stderr] 1437 | pub struct PunctPound(Punct); [INFO] [stderr] | ---------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1443:23 [INFO] [stderr] | [INFO] [stderr] 1443 | pub struct PunctColon(Punct); [INFO] [stderr] | ---------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1445:22 [INFO] [stderr] | [INFO] [stderr] 1445 | pub struct PunctSemi(Punct); [INFO] [stderr] | --------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: method `span` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1448:12 [INFO] [stderr] | [INFO] [stderr] 1447 | impl PunctSemi { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] 1448 | pub fn span(&self) -> Span { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1472:21 [INFO] [stderr] | [INFO] [stderr] 1472 | pub struct IdentPub(Ident); [INFO] [stderr] | -------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1474:23 [INFO] [stderr] | [INFO] [stderr] 1474 | pub struct IdentCrate(Ident); [INFO] [stderr] | ---------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1476:22 [INFO] [stderr] | [INFO] [stderr] 1476 | pub struct IdentSelf(Ident); [INFO] [stderr] | --------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1478:23 [INFO] [stderr] | [INFO] [stderr] 1478 | pub struct IdentSuper(Ident); [INFO] [stderr] | ---------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1480:20 [INFO] [stderr] | [INFO] [stderr] 1480 | pub struct IdentIn(Ident); [INFO] [stderr] | ------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: field `vis` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1536:9 [INFO] [stderr] | [INFO] [stderr] 1535 | pub struct EnumVariant { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 1536 | pub vis: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `semi` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1549:32 [INFO] [stderr] | [INFO] [stderr] 1549 | Paren { paren: GroupParen, semi: PunctSemi }, [INFO] [stderr] | ----- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1551:10 [INFO] [stderr] | [INFO] [stderr] 1551 | Semi(PunctSemi), [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] 1551 - Semi(PunctSemi), [INFO] [stderr] 1551 + Semi(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `into_token_stream` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1555:12 [INFO] [stderr] | [INFO] [stderr] 1554 | impl StructData { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 1555 | pub fn into_token_stream(self) -> TokenStream { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `expect_eof` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1818:12 [INFO] [stderr] | [INFO] [stderr] 1798 | impl<'a> ParsingAfterConsumedTokens<'a> { [INFO] [stderr] | --------------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 1818 | pub fn expect_eof(&self) -> Result<(), ParseError> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Type` is never constructed [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic.rs:1937:12 [INFO] [stderr] | [INFO] [stderr] 1937 | pub struct Type(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `MatchBytes` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic/ident_eq.rs:49:11 [INFO] [stderr] | [INFO] [stderr] 49 | pub trait MatchBytes { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_slice_or_truncated` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/syn_generic/ident_eq.rs:80:18 [INFO] [stderr] | [INFO] [stderr] 72 | impl IdentToBuf { [INFO] [stderr] | ---------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 80 | pub const fn as_slice_or_truncated(&self) -> Result<&[u8], &[u8; N]> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `eq` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/item.rs:979:5 [INFO] [stderr] | [INFO] [stderr] 978 | pub struct GroupMaybeFromEq { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 979 | eq: Option, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ContextOfStructField` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx.rs:179:6 [INFO] [stderr] | [INFO] [stderr] 179 | type ContextOfStructField<'a> = field::ContextOfField<&'a mut ContextOfStruct>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StructFieldToDefault` is never constructed [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx.rs:420:8 [INFO] [stderr] | [INFO] [stderr] 420 | struct StructFieldToDefault; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `take_for_calculating` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx.rs:533:8 [INFO] [stderr] | [INFO] [stderr] 529 | impl MaybeCalculating { [INFO] [stderr] | --------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 533 | fn take_for_calculating(&mut self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant `CIRCULAR_REF` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx.rs:642:11 [INFO] [stderr] | [INFO] [stderr] 641 | impl CustomTokensExpandErrorOr { [INFO] [stderr] | ------------------------------------------------------------ associated constant in this implementation [INFO] [stderr] 642 | const CIRCULAR_REF: Self = Self::Custom(CustomTokensExpandError::CircularRef { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `mut_deref` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/field.rs:78:19 [INFO] [stderr] | [INFO] [stderr] 77 | impl<'a, Ctx: ?Sized + ContextSupportsField> ContextOfField<&'a mut &mut Ctx> { [INFO] [stderr] | ----------------------------------------------------------------------------- method in this implementation [INFO] [stderr] 78 | pub(super) fn mut_deref(self) -> ContextOfField<&'a mut Ctx> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_mut` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/field.rs:95:19 [INFO] [stderr] | [INFO] [stderr] 94 | impl ContextOfField { [INFO] [stderr] | --------------------------------------------------- method in this implementation [INFO] [stderr] 95 | pub(super) fn as_mut(&mut self) -> ContextOfField<&mut Ctx> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `span_tag` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_tag.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 32 | Tagged { [INFO] [stderr] | ------ field in this variant [INFO] [stderr] 33 | span_tag: Span, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `try_expand_to_tagged_kvs_default` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/context_with_prop_to_tagged_default.rs:173:8 [INFO] [stderr] | [INFO] [stderr] 119 | pub trait ContextWithPropToTaggedDefault: Sized + ToInternallyTaggedDefaultWith { [INFO] [stderr] | ------------------------------ method in this trait [INFO] [stderr] ... [INFO] [stderr] 173 | fn try_expand_to_tagged_kvs_default( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `expand_default` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/custom.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 86 | impl PropDefaultCustom> { [INFO] [stderr] | ---------------------------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 115 | pub fn expand_default<'a, Ctx>( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `span` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 73 | pub struct SpecifiedTagMode { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 74 | span: Span, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SpecifiedTagMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `only_field_index` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:255:5 [INFO] [stderr] | [INFO] [stderr] 235 | pub struct EnumVariant { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 255 | only_field_index: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ContextOfEnumVariantField` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:426:6 [INFO] [stderr] | [INFO] [stderr] 426 | type ContextOfEnumVariantField<'a> = field::ContextOfField>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `EnumToExpandError` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1450:6 [INFO] [stderr] | [INFO] [stderr] 1450 | enum EnumToExpandError {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_mut` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1517:8 [INFO] [stderr] | [INFO] [stderr] 1516 | impl<'a> ContextAtBracketQuestionOfEnumItemTo<'a> { [INFO] [stderr] | ------------------------------------------------- method in this implementation [INFO] [stderr] 1517 | fn as_mut(&mut self) -> ContextAtBracketQuestionOfEnumItemTo<'_> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `question_span` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1529:5 [INFO] [stderr] | [INFO] [stderr] 1527 | pub struct ContextAtBracketQuestionInsideBracketStarOfEnumItemTo<'a, 'star> { [INFO] [stderr] | ----------------------------------------------------- field in this struct [INFO] [stderr] 1528 | ctx_star: &'star mut ContextAtBracketStarOfEnumVariant<'a>, [INFO] [stderr] 1529 | question_span: Span, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `question_span` is never read [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum.rs:1534:5 [INFO] [stderr] | [INFO] [stderr] 1532 | pub struct ContextAtBracketStarInsideQuestionOfEnumItemTo<'a> { [INFO] [stderr] | ---------------------------------------------- field in this struct [INFO] [stderr] 1533 | ctx_star: ContextAtBracketStarOfEnumVariant<'a>, [INFO] [stderr] 1534 | question_span: Span, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `cache_for_unspecified` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl InheritedProp { [INFO] [stderr] | ------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn cache_for_unspecified(&mut self) -> &mut Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Calculated` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:44:14 [INFO] [stderr] | [INFO] [stderr] 44 | enum Calculated { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `expand_ts` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/expand_props.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn expand_ts( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ExpandTs` is never used [INFO] [stderr] --> packages/cjson-proc-macro/src/expand_props.rs:278:10 [INFO] [stderr] | [INFO] [stderr] 278 | pub type ExpandTs = MaybeIntact>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 36 | ctx: &'a mut Ctx, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 43 | ) -> Result<&mut CustomTokensExpanded, &mut D> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 43 | ) -> Result<&'a mut CustomTokensExpanded, &'a mut D> { [INFO] [stderr] | ++ ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> packages/cjson-proc-macro/src/to_json/ctx/enum/inherit.rs:124:10 [INFO] [stderr] | [INFO] [stderr] 121 | ctx: &'a mut Ctx, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 124 | ) -> &mut D { [INFO] [stderr] | ^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 124 | ) -> &'a mut D { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `cjson-proc-macro` (lib) generated 77 warnings (run `cargo fix --lib -p cjson-proc-macro` to apply 18 suggestions) [INFO] [stderr] warning: `cjson-proc-macro` (lib test) generated 77 warnings (77 duplicates) [INFO] [stderr] warning: unexpected `cfg` condition name: `remove` [INFO] [stderr] --> packages/cjson/src/ser/consumers.rs:715:7 [INFO] [stderr] | [INFO] [stderr] 715 | #[cfg(remove)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(remove)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(remove)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `todo` [INFO] [stderr] --> packages/cjson/src/ser/consumers.rs:731:7 [INFO] [stderr] | [INFO] [stderr] 731 | #[cfg(todo)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `todo` [INFO] [stderr] --> packages/cjson/src/ser/consumers.rs:736:7 [INFO] [stderr] | [INFO] [stderr] 736 | #[cfg(todo)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `todo` [INFO] [stderr] --> packages/cjson/src/ser/consumers.rs:1063:7 [INFO] [stderr] | [INFO] [stderr] 1063 | #[cfg(todo)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `todo` [INFO] [stderr] --> packages/cjson/src/ser/consumers.rs:1111:7 [INFO] [stderr] | [INFO] [stderr] 1111 | #[cfg(todo)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(todo)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(todo)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HasConstCompileTimeChunk`, `into_json_key_colon_value::Sealed as _`, and `runtime_chunks::RuntimeChunks` [INFO] [stderr] --> packages/cjson/src/ser/consumers.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | r#const::{HasConstCompileTimeChunk, HasConstState, State, states}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 8 | consume_chained_full::ConsumeChainedStringsFull, runtime_chunks::RuntimeChunks, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | }, [INFO] [stderr] 10 | into_json_key_colon_value::Sealed as _, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MakeChunks`, `consume_open_content::ConsumeArrayOpenItemsIfNotEmpty`, and `never_consume::NeverConsume` [INFO] [stderr] --> packages/cjson/src/ser/consumers.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | consume_open_content::ConsumeArrayOpenItemsIfNotEmpty, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | json_kinds::{JsonKind, JsonKindContains}, [INFO] [stderr] 21 | never_consume::NeverConsume, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 22 | open_close::{GroupOrComma, MakeChunks, OpenClose}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stderr] --> packages/cjson/src/ser/consumers/define_traits.rs:12:37 [INFO] [stderr] | [INFO] [stderr] 12 | pub use crate::ser::consumers::{trait_helpers::base::*, trait_items::base::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the most public imported item is `pub(crate)` [INFO] [stderr] --> packages/cjson/src/ser/consumers/define_traits.rs:12:37 [INFO] [stderr] | [INFO] [stderr] 12 | pub use crate::ser::consumers::{trait_helpers::base::*, trait_items::base::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stderr] [INFO] [stderr] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stderr] --> packages/cjson/src/ser/consumers/define_traits.rs:82:37 [INFO] [stderr] | [INFO] [stderr] 82 | pub use crate::ser::consumers::{trait_helpers::try_::*, trait_items::try_::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the most public imported item is `pub(crate)` [INFO] [stderr] --> packages/cjson/src/ser/consumers/define_traits.rs:82:37 [INFO] [stderr] | [INFO] [stderr] 82 | pub use crate::ser::consumers::{trait_helpers::try_::*, trait_items::try_::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_block` [INFO] [stderr] --> packages/cjson/src/ser/consumers/define_traits.rs:147:17 [INFO] [stderr] | [INFO] [stderr] 147 | async_, async_block, async_move_block, await_, de_async, de_async_move, define_async_fn, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stderr] --> packages/cjson/src/ser/consumers/define_traits.rs:156:37 [INFO] [stderr] | [INFO] [stderr] 156 | pub use crate::ser::consumers::{trait_helpers::async_try::*, trait_items::async_try::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the most public imported item is `pub(crate)` [INFO] [stderr] --> packages/cjson/src/ser/consumers/define_traits.rs:156:37 [INFO] [stderr] | [INFO] [stderr] 156 | pub use crate::ser::consumers::{trait_helpers::async_try::*, trait_items::async_try::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `async_block` [INFO] [stderr] --> packages/cjson/src/ser/consumers/define_traits.rs:218:18 [INFO] [stderr] | [INFO] [stderr] 218 | macro_rules! async_block { [INFO] [stderr] | ^^^^^^^^^^^ [WARN] too many lines in the log, truncating it