[INFO] fetching crate syn-pub-items 0.15.30... [INFO] testing syn-pub-items-0.15.30 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate syn-pub-items 0.15.30 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate syn-pub-items 0.15.30 [INFO] finished tweaking crates.io crate syn-pub-items 0.15.30 [INFO] tweaked toml for crates.io crate syn-pub-items 0.15.30 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate syn-pub-items 0.15.30 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 150 packages to latest compatible versions [INFO] [stderr] Adding colored v1.9.4 (available: v3.0.0) [INFO] [stderr] Adding insta v0.7.4 (available: v1.43.1) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.101) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.40) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console v0.7.7 [INFO] [stderr] Downloaded insta v0.7.4 [INFO] [stderr] Downloaded ron v0.4.2 [INFO] [stderr] Downloaded ci_info v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73c050e1275e9d5d174ff181b6a1c8ec4f40fe3ebe4b52ffade491e4f744354d [INFO] running `Command { std: "docker" "start" "-a" "73c050e1275e9d5d174ff181b6a1c8ec4f40fe3ebe4b52ffade491e4f744354d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73c050e1275e9d5d174ff181b6a1c8ec4f40fe3ebe4b52ffade491e4f744354d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73c050e1275e9d5d174ff181b6a1c8ec4f40fe3ebe4b52ffade491e4f744354d", kill_on_drop: false }` [INFO] [stdout] 73c050e1275e9d5d174ff181b6a1c8ec4f40fe3ebe4b52ffade491e4f744354d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5ab0f94ee7d93503361245add4f29d334745e0854e35ca51361ec08c31dcdab [INFO] running `Command { std: "docker" "start" "-a" "e5ab0f94ee7d93503361245add4f29d334745e0854e35ca51361ec08c31dcdab", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn-pub-items v0.15.30 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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 value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/group.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(procmacro2_semver_exempt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/group.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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 value: `cargo-clippy` [INFO] [stdout] --> src/attr.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 518 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/attr.rs:529:20 [INFO] [stdout] | [INFO] [stdout] 529 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lit.rs:730:16 [INFO] [stdout] | [INFO] [stdout] 730 | #[cfg_attr(feature = "cargo-clippy", allow(needless_continue))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lit.rs:818:16 [INFO] [stdout] | [INFO] [stdout] 818 | #[cfg_attr(feature = "cargo-clippy", allow(needless_continue))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:663:21 [INFO] [stdout] | [INFO] [stdout] 663 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:967:21 [INFO] [stdout] | [INFO] [stdout] 967 | b'0'...b'9' => b0 - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:968:21 [INFO] [stdout] | [INFO] [stdout] 968 | b'a'...b'f' => 10 + (b0 - b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:969:21 [INFO] [stdout] | [INFO] [stdout] 969 | b'A'...b'F' => 10 + (b0 - b'A'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:973:17 [INFO] [stdout] | [INFO] [stdout] 973 | b'0'...b'9' => b1 - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:974:17 [INFO] [stdout] | [INFO] [stdout] 974 | b'a'...b'f' => 10 + (b1 - b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:975:17 [INFO] [stdout] | [INFO] [stdout] 975 | b'A'...b'F' => 10 + (b1 - b'A'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:991:21 [INFO] [stdout] | [INFO] [stdout] 991 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:996:21 [INFO] [stdout] | [INFO] [stdout] 996 | b'a'...b'f' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1001:21 [INFO] [stdout] | [INFO] [stdout] 1001 | b'A'...b'F' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1034:18 [INFO] [stdout] | [INFO] [stdout] 1034 | (b'0'...b'9', _) => 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1042:21 [INFO] [stdout] | [INFO] [stdout] 1042 | b'0'...b'9' => u64::from(b - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1043:21 [INFO] [stdout] | [INFO] [stdout] 1043 | b'a'...b'f' if base > 10 => 10 + u64::from(b - b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1044:21 [INFO] [stdout] | [INFO] [stdout] 1044 | b'A'...b'F' if base > 10 => 10 + u64::from(b - b'A'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/path.rs:558:20 [INFO] [stdout] | [INFO] [stdout] 558 | #[cfg_attr(feature = "cargo-clippy", allow(match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/buffer.rs:351:11 [INFO] [stdout] | [INFO] [stdout] 351 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/buffer.rs:359:11 [INFO] [stdout] | [INFO] [stdout] 359 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `syn_can_call_macro_by_path` [INFO] [stdout] --> src/parse_quote.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(not(syn_can_call_macro_by_path))] [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(syn_can_call_macro_by_path)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_call_macro_by_path)");` 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: `syn_can_call_macro_by_path` [INFO] [stdout] --> src/parse_quote.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg(syn_can_call_macro_by_path)] [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(syn_can_call_macro_by_path)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_call_macro_by_path)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/spanned.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/spanned.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `gen::*` [INFO] [stdout] --> src/lib.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | pub use gen::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `syn_can_use_thread_id` [INFO] [stdout] --> src/thread.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(syn_can_use_thread_id)] [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(syn_can_use_thread_id)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_thread_id)");` 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: `syn_can_use_thread_id` [INFO] [stdout] --> src/thread.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(not(syn_can_use_thread_id))] [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(syn_can_use_thread_id)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_thread_id)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(all(procmacro2_semver_exempt, feature = "parsing"))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/punctuated.rs:561:16 [INFO] [stdout] | [INFO] [stdout] 561 | inner: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 561 | inner: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/punctuated.rs:615:16 [INFO] [stdout] | [INFO] [stdout] 615 | inner: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 615 | inner: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `proc_macro2::Span` to itself [INFO] [stdout] --> src/spanned.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | joined = joined; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:1003:28 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct AllowStruct(bool); [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `AllowStruct` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn iter(&self) -> punctuated::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn iter(&self) -> punctuated::Iter<'_, Field> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter_mut(&mut self) -> punctuated::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter_mut(&mut self) -> punctuated::IterMut<'_, Field> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn type_params(&self) -> TypeParams { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn type_params(&self) -> TypeParams<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn type_params_mut(&mut self) -> TypeParamsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn type_params_mut(&mut self) -> TypeParamsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn lifetimes(&self) -> Lifetimes { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn lifetimes(&self) -> Lifetimes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn lifetimes_mut(&mut self) -> LifetimesMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | pub fn lifetimes_mut(&mut self) -> LifetimesMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn const_params(&self) -> ConstParams { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn const_params(&self) -> ConstParams<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn const_params_mut(&mut self) -> ConstParamsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn const_params_mut(&mut self) -> ConstParamsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:315:27 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn split_for_impl(&self) -> (ImplGenerics, TypeGenerics, Option<&WhereClause>) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn split_for_impl(&self) -> (ImplGenerics<'_>, TypeGenerics<'_>, Option<&WhereClause>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn as_turbofish(&self) -> Turbofish { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 330 | pub fn as_turbofish(&self) -> Turbofish<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/lit.rs:983:30 [INFO] [stdout] | [INFO] [stdout] 983 | panic!("expected {{ after \\u"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 983 | panic!("{}", "expected {{ after \\u"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn begin(&self) -> Cursor { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn begin(&self) -> Cursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn pairs(&self) -> Pairs { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn pairs(&self) -> Pairs<'_, T, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn pairs_mut(&mut self) -> PairsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn pairs_mut(&mut self) -> PairsMut<'_, T, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:1086:35 [INFO] [stdout] | [INFO] [stdout] 1086 | fn tokens_to_parse_buffer(tokens: &TokenBuffer) -> ParseBuffer { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1086 | fn tokens_to_parse_buffer(tokens: &TokenBuffer) -> ParseBuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.79s [INFO] running `Command { std: "docker" "inspect" "e5ab0f94ee7d93503361245add4f29d334745e0854e35ca51361ec08c31dcdab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5ab0f94ee7d93503361245add4f29d334745e0854e35ca51361ec08c31dcdab", kill_on_drop: false }` [INFO] [stdout] e5ab0f94ee7d93503361245add4f29d334745e0854e35ca51361ec08c31dcdab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5c173c88d8ecb8d34295ff6cd48661244e768b87dbe36adad5fd728db67295f [INFO] running `Command { std: "docker" "start" "-a" "a5c173c88d8ecb8d34295ff6cd48661244e768b87dbe36adad5fd728db67295f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling ci_info v0.3.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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 value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/group.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(procmacro2_semver_exempt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/group.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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 value: `cargo-clippy` [INFO] [stdout] --> src/attr.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 518 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/attr.rs:529:20 [INFO] [stdout] | [INFO] [stdout] 529 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lit.rs:730:16 [INFO] [stdout] | [INFO] [stdout] 730 | #[cfg_attr(feature = "cargo-clippy", allow(needless_continue))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lit.rs:818:16 [INFO] [stdout] | [INFO] [stdout] 818 | #[cfg_attr(feature = "cargo-clippy", allow(needless_continue))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:663:21 [INFO] [stdout] | [INFO] [stdout] 663 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:967:21 [INFO] [stdout] | [INFO] [stdout] 967 | b'0'...b'9' => b0 - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:968:21 [INFO] [stdout] | [INFO] [stdout] 968 | b'a'...b'f' => 10 + (b0 - b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:969:21 [INFO] [stdout] | [INFO] [stdout] 969 | b'A'...b'F' => 10 + (b0 - b'A'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:973:17 [INFO] [stdout] | [INFO] [stdout] 973 | b'0'...b'9' => b1 - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:974:17 [INFO] [stdout] | [INFO] [stdout] 974 | b'a'...b'f' => 10 + (b1 - b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:975:17 [INFO] [stdout] | [INFO] [stdout] 975 | b'A'...b'F' => 10 + (b1 - b'A'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:991:21 [INFO] [stdout] | [INFO] [stdout] 991 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:996:21 [INFO] [stdout] | [INFO] [stdout] 996 | b'a'...b'f' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1001:21 [INFO] [stdout] | [INFO] [stdout] 1001 | b'A'...b'F' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1034:18 [INFO] [stdout] | [INFO] [stdout] 1034 | (b'0'...b'9', _) => 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1042:21 [INFO] [stdout] | [INFO] [stdout] 1042 | b'0'...b'9' => u64::from(b - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1043:21 [INFO] [stdout] | [INFO] [stdout] 1043 | b'a'...b'f' if base > 10 => 10 + u64::from(b - b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1044:21 [INFO] [stdout] | [INFO] [stdout] 1044 | b'A'...b'F' if base > 10 => 10 + u64::from(b - b'A'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/path.rs:558:20 [INFO] [stdout] | [INFO] [stdout] 558 | #[cfg_attr(feature = "cargo-clippy", allow(match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/buffer.rs:351:11 [INFO] [stdout] | [INFO] [stdout] 351 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/buffer.rs:359:11 [INFO] [stdout] | [INFO] [stdout] 359 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `syn_can_call_macro_by_path` [INFO] [stdout] --> src/parse_quote.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(not(syn_can_call_macro_by_path))] [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(syn_can_call_macro_by_path)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_call_macro_by_path)");` 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: `syn_can_call_macro_by_path` [INFO] [stdout] --> src/parse_quote.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg(syn_can_call_macro_by_path)] [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(syn_can_call_macro_by_path)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_call_macro_by_path)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/spanned.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/spanned.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `gen::*` [INFO] [stdout] --> src/lib.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | pub use gen::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `syn_can_use_thread_id` [INFO] [stdout] --> src/thread.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(syn_can_use_thread_id)] [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(syn_can_use_thread_id)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_thread_id)");` 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: `syn_can_use_thread_id` [INFO] [stdout] --> src/thread.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(not(syn_can_use_thread_id))] [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(syn_can_use_thread_id)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_thread_id)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(all(procmacro2_semver_exempt, feature = "parsing"))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/punctuated.rs:561:16 [INFO] [stdout] | [INFO] [stdout] 561 | inner: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 561 | inner: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/punctuated.rs:615:16 [INFO] [stdout] | [INFO] [stdout] 615 | inner: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 615 | inner: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `proc_macro2::Span` to itself [INFO] [stdout] --> src/spanned.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | joined = joined; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:1003:28 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct AllowStruct(bool); [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `AllowStruct` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn iter(&self) -> punctuated::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn iter(&self) -> punctuated::Iter<'_, Field> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter_mut(&mut self) -> punctuated::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter_mut(&mut self) -> punctuated::IterMut<'_, Field> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn type_params(&self) -> TypeParams { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn type_params(&self) -> TypeParams<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn type_params_mut(&mut self) -> TypeParamsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn type_params_mut(&mut self) -> TypeParamsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn lifetimes(&self) -> Lifetimes { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn lifetimes(&self) -> Lifetimes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn lifetimes_mut(&mut self) -> LifetimesMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | pub fn lifetimes_mut(&mut self) -> LifetimesMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn const_params(&self) -> ConstParams { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn const_params(&self) -> ConstParams<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn const_params_mut(&mut self) -> ConstParamsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn const_params_mut(&mut self) -> ConstParamsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:315:27 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn split_for_impl(&self) -> (ImplGenerics, TypeGenerics, Option<&WhereClause>) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn split_for_impl(&self) -> (ImplGenerics<'_>, TypeGenerics<'_>, Option<&WhereClause>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn as_turbofish(&self) -> Turbofish { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 330 | pub fn as_turbofish(&self) -> Turbofish<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/lit.rs:983:30 [INFO] [stdout] | [INFO] [stdout] 983 | panic!("expected {{ after \\u"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 983 | panic!("{}", "expected {{ after \\u"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn begin(&self) -> Cursor { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn begin(&self) -> Cursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn pairs(&self) -> Pairs { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn pairs(&self) -> Pairs<'_, T, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn pairs_mut(&mut self) -> PairsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn pairs_mut(&mut self) -> PairsMut<'_, T, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:1086:35 [INFO] [stdout] | [INFO] [stdout] 1086 | fn tokens_to_parse_buffer(tokens: &TokenBuffer) -> ParseBuffer { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1086 | fn tokens_to_parse_buffer(tokens: &TokenBuffer) -> ParseBuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling ron v0.4.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling insta v0.7.4 [INFO] [stderr] Compiling syn-pub-items v0.15.30 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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 value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/group.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(procmacro2_semver_exempt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/group.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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 value: `cargo-clippy` [INFO] [stdout] --> src/attr.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 518 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/attr.rs:529:20 [INFO] [stdout] | [INFO] [stdout] 529 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lit.rs:730:16 [INFO] [stdout] | [INFO] [stdout] 730 | #[cfg_attr(feature = "cargo-clippy", allow(needless_continue))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lit.rs:818:16 [INFO] [stdout] | [INFO] [stdout] 818 | #[cfg_attr(feature = "cargo-clippy", allow(needless_continue))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:663:21 [INFO] [stdout] | [INFO] [stdout] 663 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:967:21 [INFO] [stdout] | [INFO] [stdout] 967 | b'0'...b'9' => b0 - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:968:21 [INFO] [stdout] | [INFO] [stdout] 968 | b'a'...b'f' => 10 + (b0 - b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:969:21 [INFO] [stdout] | [INFO] [stdout] 969 | b'A'...b'F' => 10 + (b0 - b'A'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:973:17 [INFO] [stdout] | [INFO] [stdout] 973 | b'0'...b'9' => b1 - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:974:17 [INFO] [stdout] | [INFO] [stdout] 974 | b'a'...b'f' => 10 + (b1 - b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:975:17 [INFO] [stdout] | [INFO] [stdout] 975 | b'A'...b'F' => 10 + (b1 - b'A'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:991:21 [INFO] [stdout] | [INFO] [stdout] 991 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:996:21 [INFO] [stdout] | [INFO] [stdout] 996 | b'a'...b'f' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1001:21 [INFO] [stdout] | [INFO] [stdout] 1001 | b'A'...b'F' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1034:18 [INFO] [stdout] | [INFO] [stdout] 1034 | (b'0'...b'9', _) => 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1042:21 [INFO] [stdout] | [INFO] [stdout] 1042 | b'0'...b'9' => u64::from(b - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1043:21 [INFO] [stdout] | [INFO] [stdout] 1043 | b'a'...b'f' if base > 10 => 10 + u64::from(b - b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lit.rs:1044:21 [INFO] [stdout] | [INFO] [stdout] 1044 | b'A'...b'F' if base > 10 => 10 + u64::from(b - b'A'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/path.rs:558:20 [INFO] [stdout] | [INFO] [stdout] 558 | #[cfg_attr(feature = "cargo-clippy", allow(match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/buffer.rs:351:11 [INFO] [stdout] | [INFO] [stdout] 351 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/buffer.rs:359:11 [INFO] [stdout] | [INFO] [stdout] 359 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `syn_can_call_macro_by_path` [INFO] [stdout] --> src/parse_quote.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(not(syn_can_call_macro_by_path))] [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(syn_can_call_macro_by_path)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_call_macro_by_path)");` 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: `syn_can_call_macro_by_path` [INFO] [stdout] --> src/parse_quote.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg(syn_can_call_macro_by_path)] [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(syn_can_call_macro_by_path)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_call_macro_by_path)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/spanned.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/spanned.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `gen::*` [INFO] [stdout] --> src/lib.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | pub use gen::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `syn_can_use_thread_id` [INFO] [stdout] --> src/thread.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(syn_can_use_thread_id)] [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(syn_can_use_thread_id)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_thread_id)");` 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: `syn_can_use_thread_id` [INFO] [stdout] --> src/thread.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(not(syn_can_use_thread_id))] [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(syn_can_use_thread_id)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_thread_id)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(all(procmacro2_semver_exempt, feature = "parsing"))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stdout] --> src/error.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/punctuated.rs:561:16 [INFO] [stdout] | [INFO] [stdout] 561 | inner: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 561 | inner: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/punctuated.rs:615:16 [INFO] [stdout] | [INFO] [stdout] 615 | inner: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 615 | inner: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `proc_macro2::Span` to itself [INFO] [stdout] --> src/spanned.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | joined = joined; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:1003:28 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct AllowStruct(bool); [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `AllowStruct` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn iter(&self) -> punctuated::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn iter(&self) -> punctuated::Iter<'_, Field> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter_mut(&mut self) -> punctuated::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter_mut(&mut self) -> punctuated::IterMut<'_, Field> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn type_params(&self) -> TypeParams { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn type_params(&self) -> TypeParams<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn type_params_mut(&mut self) -> TypeParamsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn type_params_mut(&mut self) -> TypeParamsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn lifetimes(&self) -> Lifetimes { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn lifetimes(&self) -> Lifetimes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn lifetimes_mut(&mut self) -> LifetimesMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | pub fn lifetimes_mut(&mut self) -> LifetimesMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn const_params(&self) -> ConstParams { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn const_params(&self) -> ConstParams<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn const_params_mut(&mut self) -> ConstParamsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn const_params_mut(&mut self) -> ConstParamsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:315:27 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn split_for_impl(&self) -> (ImplGenerics, TypeGenerics, Option<&WhereClause>) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn split_for_impl(&self) -> (ImplGenerics<'_>, TypeGenerics<'_>, Option<&WhereClause>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generics.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn as_turbofish(&self) -> Turbofish { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 330 | pub fn as_turbofish(&self) -> Turbofish<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/lit.rs:983:30 [INFO] [stdout] | [INFO] [stdout] 983 | panic!("expected {{ after \\u"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 983 | panic!("{}", "expected {{ after \\u"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn begin(&self) -> Cursor { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn begin(&self) -> Cursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn pairs(&self) -> Pairs { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn pairs(&self) -> Pairs<'_, T, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/punctuated.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn pairs_mut(&mut self) -> PairsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn pairs_mut(&mut self) -> PairsMut<'_, T, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:1086:35 [INFO] [stdout] | [INFO] [stdout] 1086 | fn tokens_to_parse_buffer(tokens: &TokenBuffer) -> ParseBuffer { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1086 | fn tokens_to_parse_buffer(tokens: &TokenBuffer) -> ParseBuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "a5c173c88d8ecb8d34295ff6cd48661244e768b87dbe36adad5fd728db67295f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c173c88d8ecb8d34295ff6cd48661244e768b87dbe36adad5fd728db67295f", kill_on_drop: false }` [INFO] [stdout] a5c173c88d8ecb8d34295ff6cd48661244e768b87dbe36adad5fd728db67295f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 300fac5a43bcc18807dda7ca6797cff95f5d40eceb75644defd727a5957a9496 [INFO] running `Command { std: "docker" "start" "-a" "300fac5a43bcc18807dda7ca6797cff95f5d40eceb75644defd727a5957a9496", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:226:13 [INFO] [stderr] | [INFO] [stderr] 226 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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 value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:227:13 [INFO] [stderr] | [INFO] [stderr] 227 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:230:5 [INFO] [stderr] | [INFO] [stderr] 230 | feature = "cargo-clippy", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:248:5 [INFO] [stderr] | [INFO] [stderr] 248 | feature = "cargo-clippy", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `macros::*` [INFO] [stderr] --> src/lib.rs:278:9 [INFO] [stderr] | [INFO] [stderr] 278 | pub use macros::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stderr] --> src/group.rs:77:19 [INFO] [stderr] | [INFO] [stderr] 77 | #[cfg(procmacro2_semver_exempt)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stderr] --> src/group.rs:79:23 [INFO] [stderr] | [INFO] [stderr] 79 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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 value: `cargo-clippy` [INFO] [stderr] --> src/attr.rs:518:20 [INFO] [stderr] | [INFO] [stderr] 518 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/attr.rs:529:20 [INFO] [stderr] | [INFO] [stderr] 529 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lit.rs:730:16 [INFO] [stderr] | [INFO] [stderr] 730 | #[cfg_attr(feature = "cargo-clippy", allow(needless_continue))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lit.rs:818:16 [INFO] [stderr] | [INFO] [stderr] 818 | #[cfg_attr(feature = "cargo-clippy", allow(needless_continue))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:663:21 [INFO] [stderr] | [INFO] [stderr] 663 | b'0'...b'9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:967:21 [INFO] [stderr] | [INFO] [stderr] 967 | b'0'...b'9' => b0 - b'0', [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:968:21 [INFO] [stderr] | [INFO] [stderr] 968 | b'a'...b'f' => 10 + (b0 - b'a'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:969:21 [INFO] [stderr] | [INFO] [stderr] 969 | b'A'...b'F' => 10 + (b0 - b'A'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:973:17 [INFO] [stderr] | [INFO] [stderr] 973 | b'0'...b'9' => b1 - b'0', [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:974:17 [INFO] [stderr] | [INFO] [stderr] 974 | b'a'...b'f' => 10 + (b1 - b'a'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:975:17 [INFO] [stderr] | [INFO] [stderr] 975 | b'A'...b'F' => 10 + (b1 - b'A'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:991:21 [INFO] [stderr] | [INFO] [stderr] 991 | b'0'...b'9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:996:21 [INFO] [stderr] | [INFO] [stderr] 996 | b'a'...b'f' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:1001:21 [INFO] [stderr] | [INFO] [stderr] 1001 | b'A'...b'F' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:1034:18 [INFO] [stderr] | [INFO] [stderr] 1034 | (b'0'...b'9', _) => 10, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:1042:21 [INFO] [stderr] | [INFO] [stderr] 1042 | b'0'...b'9' => u64::from(b - b'0'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:1043:21 [INFO] [stderr] | [INFO] [stderr] 1043 | b'a'...b'f' if base > 10 => 10 + u64::from(b - b'a'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:1044:21 [INFO] [stderr] | [INFO] [stderr] 1044 | b'A'...b'F' if base > 10 => 10 + u64::from(b - b'A'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/path.rs:558:20 [INFO] [stderr] | [INFO] [stderr] 558 | #[cfg_attr(feature = "cargo-clippy", allow(match_same_arms))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stderr] --> src/buffer.rs:351:11 [INFO] [stderr] | [INFO] [stderr] 351 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stderr] --> src/buffer.rs:359:11 [INFO] [stderr] | [INFO] [stderr] 359 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `syn_can_call_macro_by_path` [INFO] [stderr] --> src/parse_quote.rs:75:11 [INFO] [stderr] | [INFO] [stderr] 75 | #[cfg(not(syn_can_call_macro_by_path))] [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(syn_can_call_macro_by_path)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_call_macro_by_path)");` 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: `syn_can_call_macro_by_path` [INFO] [stderr] --> src/parse_quote.rs:85:7 [INFO] [stderr] | [INFO] [stderr] 85 | #[cfg(syn_can_call_macro_by_path)] [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(syn_can_call_macro_by_path)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_call_macro_by_path)");` 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: `procmacro2_semver_exempt` [INFO] [stderr] --> src/spanned.rs:127:11 [INFO] [stderr] | [INFO] [stderr] 127 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stderr] --> src/spanned.rs:136:15 [INFO] [stderr] | [INFO] [stderr] 136 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `gen::*` [INFO] [stderr] --> src/lib.rs:537:9 [INFO] [stderr] | [INFO] [stderr] 537 | pub use gen::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `syn_can_use_thread_id` [INFO] [stderr] --> src/thread.rs:44:7 [INFO] [stderr] | [INFO] [stderr] 44 | #[cfg(syn_can_use_thread_id)] [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(syn_can_use_thread_id)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_thread_id)");` 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: `syn_can_use_thread_id` [INFO] [stderr] --> src/thread.rs:55:11 [INFO] [stderr] | [INFO] [stderr] 55 | #[cfg(not(syn_can_use_thread_id))] [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(syn_can_use_thread_id)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_thread_id)");` 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: `procmacro2_semver_exempt` [INFO] [stderr] --> src/error.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg(all(procmacro2_semver_exempt, feature = "parsing"))] [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(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stderr] --> src/error.rs:119:15 [INFO] [stderr] | [INFO] [stderr] 119 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stderr] --> src/error.rs:127:19 [INFO] [stderr] | [INFO] [stderr] 127 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stderr] --> src/error.rs:176:15 [INFO] [stderr] | [INFO] [stderr] 176 | #[cfg(procmacro2_semver_exempt)] [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(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` 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: `procmacro2_semver_exempt` [INFO] [stderr] --> src/error.rs:178:19 [INFO] [stderr] | [INFO] [stderr] 178 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/punctuated.rs:561:16 [INFO] [stderr] | [INFO] [stderr] 561 | inner: Box + 'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 561 | inner: Box + 'a>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/punctuated.rs:615:16 [INFO] [stderr] | [INFO] [stderr] 615 | inner: Box + 'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 615 | inner: Box + 'a>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: useless assignment of variable of type `proc_macro2::Span` to itself [INFO] [stderr] --> src/spanned.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | joined = joined; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expr.rs:1003:28 [INFO] [stderr] | [INFO] [stderr] 1003 | pub struct AllowStruct(bool); [INFO] [stderr] | ----------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `AllowStruct` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/data.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn iter(&self) -> punctuated::Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 66 | pub fn iter(&self) -> punctuated::Iter<'_, Field> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/data.rs:79:21 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn iter_mut(&mut self) -> punctuated::IterMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 79 | pub fn iter_mut(&mut self) -> punctuated::IterMut<'_, Field> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generics.rs:80:24 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn type_params(&self) -> TypeParams { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | pub fn type_params(&self) -> TypeParams<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generics.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn type_params_mut(&mut self) -> TypeParamsMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 91 | pub fn type_params_mut(&mut self) -> TypeParamsMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generics.rs:102:22 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn lifetimes(&self) -> Lifetimes { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 102 | pub fn lifetimes(&self) -> Lifetimes<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generics.rs:113:26 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn lifetimes_mut(&mut self) -> LifetimesMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 113 | pub fn lifetimes_mut(&mut self) -> LifetimesMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generics.rs:124:25 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn const_params(&self) -> ConstParams { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 124 | pub fn const_params(&self) -> ConstParams<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generics.rs:135:29 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn const_params_mut(&mut self) -> ConstParamsMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 135 | pub fn const_params_mut(&mut self) -> ConstParamsMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generics.rs:315:27 [INFO] [stderr] | [INFO] [stderr] 315 | pub fn split_for_impl(&self) -> (ImplGenerics, TypeGenerics, Option<&WhereClause>) { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 315 | pub fn split_for_impl(&self) -> (ImplGenerics<'_>, TypeGenerics<'_>, Option<&WhereClause>) { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generics.rs:330:25 [INFO] [stderr] | [INFO] [stderr] 330 | pub fn as_turbofish(&self) -> Turbofish { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 330 | pub fn as_turbofish(&self) -> Turbofish<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/lit.rs:983:30 [INFO] [stderr] | [INFO] [stderr] 983 | panic!("expected {{ after \\u"); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 983 | panic!("{}", "expected {{ after \\u"); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/buffer.rs:120:18 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn begin(&self) -> Cursor { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 120 | pub fn begin(&self) -> Cursor<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/punctuated.rs:104:17 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 104 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/punctuated.rs:115:21 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 115 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/punctuated.rs:126:18 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn pairs(&self) -> Pairs { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 126 | pub fn pairs(&self) -> Pairs<'_, T, P> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/punctuated.rs:135:22 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn pairs_mut(&mut self) -> PairsMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 135 | pub fn pairs_mut(&mut self) -> PairsMut<'_, T, P> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse.rs:1086:35 [INFO] [stderr] | [INFO] [stderr] 1086 | fn tokens_to_parse_buffer(tokens: &TokenBuffer) -> ParseBuffer { [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1086 | fn tokens_to_parse_buffer(tokens: &TokenBuffer) -> ParseBuffer<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `syn-pub-items` (lib) generated 61 warnings (run `cargo fix --lib -p syn-pub-items` to apply 35 suggestions) [INFO] [stdout] [INFO] [stderr] warning: `syn-pub-items` (lib test) generated 61 warnings (61 duplicates) [INFO] [stdout] running 0 tests [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/syn_pub_items-b4e97b4401686abb) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests syn_pub_items [INFO] [stdout] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:663:21 [INFO] [stderr] | [INFO] [stderr] 663 | b'0'...b'9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:967:21 [INFO] [stderr] | [INFO] [stderr] 967 | b'0'...b'9' => b0 - b'0', [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:968:21 [INFO] [stderr] | [INFO] [stderr] 968 | b'a'...b'f' => 10 + (b0 - b'a'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:969:21 [INFO] [stderr] | [INFO] [stderr] 969 | b'A'...b'F' => 10 + (b0 - b'A'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:973:17 [INFO] [stderr] | [INFO] [stderr] 973 | b'0'...b'9' => b1 - b'0', [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:974:17 [INFO] [stderr] | [INFO] [stderr] 974 | b'a'...b'f' => 10 + (b1 - b'a'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:975:17 [INFO] [stderr] | [INFO] [stderr] 975 | b'A'...b'F' => 10 + (b1 - b'A'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:991:21 [INFO] [stderr] | [INFO] [stderr] 991 | b'0'...b'9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:996:21 [INFO] [stderr] | [INFO] [stderr] 996 | b'a'...b'f' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:1001:21 [INFO] [stderr] | [INFO] [stderr] 1001 | b'A'...b'F' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:1034:18 [INFO] [stderr] | [INFO] [stderr] 1034 | (b'0'...b'9', _) => 10, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:1042:21 [INFO] [stderr] | [INFO] [stderr] 1042 | b'0'...b'9' => u64::from(b - b'0'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:1043:21 [INFO] [stderr] | [INFO] [stderr] 1043 | b'a'...b'f' if base > 10 => 10 + u64::from(b - b'a'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lit.rs:1044:21 [INFO] [stderr] | [INFO] [stderr] 1044 | b'A'...b'F' if base > 10 => 10 + u64::from(b - b'A'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: 14 warnings emitted [INFO] [stdout] running 49 tests [INFO] [stderr] [INFO] [stdout] test src/attr.rs - attr::Attribute (line 71) ... FAILED [INFO] [stdout] test src/attr.rs - attr::AttributeArgs (line 485) ... FAILED [INFO] [stdout] test src/expr.rs - expr::Expr (line 54) ... FAILED [INFO] [stdout] test src/expr.rs - expr::Expr (line 83) ... FAILED [INFO] [stdout] test src/expr.rs - expr::Expr (line 21) ... FAILED [INFO] [stdout] test src/group.rs - group::parenthesized (line 101) ... FAILED [INFO] [stdout] test src/attr.rs - attr::AttributeArgs (line 473) ... ok [INFO] [stdout] test src/error.rs - error::Error::new (line 56) ... FAILED [INFO] [stdout] test src/keyword.rs - keyword::custom_keyword (line 10) ... FAILED [INFO] [stdout] test src/generics.rs - generics::Generics::split_for_impl (line 295) ... FAILED [INFO] [stdout] test src/ext.rs - ext::IdentExt::parse_any (line 20) ... FAILED [INFO] [stdout] test src/group.rs - group::bracketed (line 236) ... FAILED [INFO] [stdout] test src/group.rs - group::braced (line 158) ... FAILED [INFO] [stdout] test src/expr.rs - expr::Expr (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - (line 67) ... FAILED [INFO] [stdout] test src/lib.rs - (line 126) ... ok [INFO] [stdout] test src/lib.rs - (line 160) ... ok [INFO] [stdout] test src/keyword.rs - keyword::custom_keyword (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - (line 98) ... ok [INFO] [stdout] test src/lib.rs - (line 108) ... ok [INFO] [stdout] test src/parse.rs - parse (line 135) - compile fail ... ok [INFO] [stdout] test src/lifetime.rs - lifetime::Lifetime::new (line 38) ... FAILED [INFO] [stdout] test src/lit.rs - lit::LitStr::parse_with (line 158) ... FAILED [INFO] [stdout] test src/lib.rs - parse (line 587) ... FAILED [INFO] [stdout] test src/lit.rs - lit::LitStr::parse (line 122) ... FAILED [INFO] [stdout] test src/parse.rs - parse::ParseBuffer<'a>::call (line 430) ... FAILED [INFO] [stdout] test src/lib.rs - parse_str (line 647) ... FAILED [INFO] [stdout] test src/lookahead.rs - lookahead::Lookahead1 (line 24) ... FAILED [INFO] [stdout] test src/parse.rs - parse::ParseBuffer<'a>::fork (line 730) ... FAILED [INFO] [stdout] test src/parse.rs - parse (line 157) ... FAILED [INFO] [stdout] test src/parse.rs - parse (line 104) ... FAILED [INFO] [stdout] test src/parse.rs - parse::ParseBuffer<'a>::lookahead1 (line 680) ... FAILED [INFO] [stdout] test src/parse.rs - parse::ParseBuffer<'a>::error (line 855) ... FAILED [INFO] [stdout] test src/parse.rs - parse::ParseBuffer<'a>::fork (line 784) ... FAILED [INFO] [stdout] test src/parse.rs - parse::ParseBuffer<'a>::peek (line 481) ... FAILED [INFO] [stdout] test src/parse.rs - parse::ParseBuffer<'a>::peek2 (line 548) ... FAILED [INFO] [stdout] test src/parse.rs - parse (line 28) ... FAILED [INFO] [stdout] test src/parse_quote.rs - parse_quote::parse_quote (line 11) ... FAILED [INFO] [stdout] test src/parse_macro_input.rs - parse_macro_input::parse_macro_input (line 11) ... FAILED [INFO] [stdout] test src/parse.rs - parse::ParseBuffer<'a>::parse_terminated (line 589) ... FAILED [INFO] [stdout] test src/path.rs - path::parsing::Path::parse_mod_style (line 362) ... FAILED [INFO] [stdout] test src/parse.rs - parse::ParseBuffer<'a>::is_empty (line 641) ... FAILED [INFO] [stdout] test src/spanned.rs - spanned (line 23) ... FAILED [INFO] [stdout] test src/parse.rs - parse::ParseBuffer<'a>::fork (line 767) ... ok [INFO] [stdout] test src/parse_quote.rs - parse_quote::parse_quote (line 36) ... FAILED [INFO] [stdout] test src/token.rs - token (line 15) ... FAILED [INFO] [stdout] test src/token.rs - token (line 43) ... FAILED [INFO] [stdout] test src/parse.rs - parse::StepCursor (line 296) ... FAILED [INFO] [stdout] test src/parse.rs - parse::ParseBuffer<'a>::step (line 892) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/attr.rs - attr::Attribute (line 71) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/attr.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/attr.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Attribute, Ident, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attr.rs - attr::AttributeArgs (line 485) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/attr.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::{parse_macro_input, AttributeArgs, ItemFn}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/expr.rs - expr::Expr (line 54) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/expr.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Expr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/expr.rs - expr::Expr (line 83) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/expr.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Expr, ExprField}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/expr.rs - expr::Expr (line 21) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/expr.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Expr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/group.rs - group::parenthesized (line 101) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/group.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/group.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::punctuated::Punctuated; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/group.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{parenthesized, token, Ident, Result, Token, Type}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/group.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 36 | syn::parse2::(input).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/error.rs - error::Error::new (line 56) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/error.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::ParseStream; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/error.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Error, Ident, LitStr, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/keyword.rs - keyword::custom_keyword (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/keyword.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | syn::custom_keyword!(whatever); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generics.rs - generics::Generics::split_for_impl (line 295) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/generics.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 6 | let generics: syn::Generics = Default::default(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ext.rs - ext::IdentExt::parse_any (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/ext.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::ext::IdentExt; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/ext.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::parse::ParseStream; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/ext.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Error, Ident, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/group.rs - group::bracketed (line 236) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/group.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/group.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::{bracketed, token, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/group.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 32 | syn::parse2::(input).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/group.rs - group::braced (line 158) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/group.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/group.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::punctuated::Punctuated; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/group.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{braced, token, Ident, Result, Token, Type}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/group.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 56 | syn::parse2::(input).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/expr.rs - expr::Expr (line 68) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/expr.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Expr, ExprMethodCall}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 67) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::{parse_macro_input, DeriveInput}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/keyword.rs - keyword::custom_keyword (line 46) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/keyword.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/keyword.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{LitBool, LitStr, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/keyword.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 8 | syn::custom_keyword!(str); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/keyword.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 7 | syn::custom_keyword!(bool); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `bool` in module `kw` [INFO] [stdout] --> src/keyword.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 13 | bool_token: kw::bool, [INFO] [stdout] | ^^^^ not found in `kw` [INFO] [stdout] | [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 2 + use std::primitive::bool; [INFO] [stdout] | [INFO] [stdout] help: if you import `bool`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - bool_token: kw::bool, [INFO] [stdout] 13 + bool_token: bool, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `str` in module `kw` [INFO] [stdout] --> src/keyword.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 18 | str_token: kw::str, [INFO] [stdout] | ^^^ not found in `kw` [INFO] [stdout] | [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 2 + use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] help: if you import `str`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - str_token: kw::str, [INFO] [stdout] 18 + str_token: str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bool` in module `kw` [INFO] [stdout] --> src/keyword.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 27 | if lookahead.peek(kw::bool) { [INFO] [stdout] | ^^^^ not found in `kw` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `bool` in module `kw` [INFO] [stdout] --> src/keyword.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 29 | bool_token: input.parse::()?, [INFO] [stdout] | ^^^^ not found in `kw` [INFO] [stdout] | [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 2 + use std::primitive::bool; [INFO] [stdout] | [INFO] [stdout] help: if you import `bool`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - bool_token: input.parse::()?, [INFO] [stdout] 29 + bool_token: input.parse::()?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `str` in module `kw` [INFO] [stdout] --> src/keyword.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 33 | } else if lookahead.peek(kw::str) { [INFO] [stdout] | ^^^ not found in `kw` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `str` in module `kw` [INFO] [stdout] --> src/keyword.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 35 | str_token: input.parse::()?, [INFO] [stdout] | ^^^ not found in `kw` [INFO] [stdout] | [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 2 + use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] help: if you import `str`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - str_token: input.parse::()?, [INFO] [stdout] 35 + str_token: input.parse::()?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lifetime.rs - lifetime::Lifetime::new (line 38) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/lifetime.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::Lifetime; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lit.rs - lit::LitStr::parse_with (line 158) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/lit.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{LitStr, Result}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/lit.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 14 | let basic_path = lit_str.parse_with(syn::Path::parse_mod_style)?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 2 + use syn_pub_items::Path; [INFO] [stdout] | [INFO] [stdout] help: if you import `Path`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - let basic_path = lit_str.parse_with(syn::Path::parse_mod_style)?; [INFO] [stdout] 14 + let basic_path = lit_str.parse_with(Path::parse_mod_style)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - parse (line 587) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/lib.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::DeriveInput; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/lib.rs:598:28 [INFO] [stdout] | [INFO] [stdout] 13 | let ast: DeriveInput = syn::parse(input).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lit.rs - lit::LitStr::parse (line 122) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/lit.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{Attribute, Error, Ident, Lit, Meta, MetaNameValue, Path, Result}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse::ParseBuffer<'a>::call (line 430) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Attribute, Ident, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - parse_str (line 647) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/lib.rs:648:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syn::{Expr, Result}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/lib.rs:652:16 [INFO] [stdout] | [INFO] [stdout] 6 | let expr = syn::parse_str::(code)?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lookahead.rs - lookahead::Lookahead1 (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/lookahead.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/lookahead.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{ConstParam, Ident, Lifetime, LifetimeDef, Result, Token, TypeParam}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse::ParseBuffer<'a>::fork (line 730) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:732:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::ParseStream; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:731:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Expr, Result}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse (line 157) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::parse::Parser; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::punctuated::Punctuated; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::{Attribute, Expr, PathSegment, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse (line 104) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syn::Type; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 5 | let t: Type = syn::parse_str("std::collections::HashMap")?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 4 | fn run_parser() -> syn::Result<()> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse::ParseBuffer<'a>::lookahead1 (line 680) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:682:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:681:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{ConstParam, Ident, Lifetime, LifetimeDef, Result, Token, TypeParam}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse::ParseBuffer<'a>::error (line 855) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:857:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:856:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Expr, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse::ParseBuffer<'a>::fork (line 784) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:786:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::ext::IdentExt; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:787:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:785:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parenthesized, token, Ident, Path, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse::ParseBuffer<'a>::peek (line 481) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::punctuated::Punctuated; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{braced, token, Generics, Ident, Result, Token, TypeParamBound}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse::ParseBuffer<'a>::peek2 (line 548) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Ident, ItemUnion, Macro, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::punctuated::Punctuated; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::{braced, parse_macro_input, token, Field, Ident, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse_quote.rs - parse_quote::parse_quote (line 11) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse_quote.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse_quote, Stmt}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse_macro_input.rs - parse_macro_input::parse_macro_input (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse_macro_input.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse_macro_input.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::{parse_macro_input, Result}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse::ParseBuffer<'a>::parse_terminated (line 589) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::punctuated::Punctuated; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{parenthesized, token, Ident, Result, Token, Type}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:624:5 [INFO] [stdout] | [INFO] [stdout] 36 | syn::parse2::(input).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/path.rs - path::parsing::Path::parse_mod_style (line 362) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/path.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/path.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Path, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse::ParseBuffer<'a>::is_empty (line 641) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:643:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{braced, token, Ident, Item, Result, Token}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/spanned.rs - spanned (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/spanned.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::spanned::Spanned; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/spanned.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::Type; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse_quote.rs - parse_quote::parse_quote (line 36) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse_quote.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse_quote, Generics, GenericParam}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token (line 15) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Attribute, Expr, Ident, Token, Type, Visibility}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token (line 43) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/token.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::{Parse, ParseStream}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/token.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Attribute, Result}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/token.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 11 | use syn::ItemStatic; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse::StepCursor (line 296) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::ParseStream; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 32 | use syn::parse::Parser; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Result; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse_str` found for fn item `fn({type error}) -> {type error} {remainder_after_skipping_past_next_at}` in the current scope [INFO] [stdout] --> src/parse.rs:329:10 [INFO] [stdout] | [INFO] [stdout] 33 | let remainder = remainder_after_skipping_past_next_at [INFO] [stdout] | _____________________- [INFO] [stdout] 34 | | .parse_str("a @ b c") [INFO] [stdout] | |_________-^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/parse.rs:1081:8 [INFO] [stdout] | [INFO] [stdout] 1081 | fn parse_str(self, s: &str) -> Result { [INFO] [stdout] | --------- the method is available for `fn({type error}) -> {type error} {remainder_after_skipping_past_next_at}` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Parser` which provides `parse_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use syn_pub_items::parse::Parser; [INFO] [stdout] | [INFO] [stdout] help: there is a method `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - .parse_str("a @ b c") [INFO] [stdout] 34 + .parse("a @ b c") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse.rs - parse::ParseBuffer<'a>::step (line 892) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:895:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::parse::ParseStream; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syn` [INFO] [stdout] --> src/parse.rs:923:9 [INFO] [stdout] | [INFO] [stdout] 32 | use syn::parse::Parser; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn` [INFO] [stdout] --> src/parse.rs:894:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Result; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `syn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse_str` found for fn item `fn({type error}) -> {type error} {remainder_after_skipping_past_next_at}` in the current scope [INFO] [stdout] --> src/parse.rs:925:10 [INFO] [stdout] | [INFO] [stdout] 33 | let remainder = remainder_after_skipping_past_next_at [INFO] [stdout] | _____________________- [INFO] [stdout] 34 | | .parse_str("a @ b c") [INFO] [stdout] | |_________-^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/parse.rs:1081:8 [INFO] [stdout] | [INFO] [stdout] 1081 | fn parse_str(self, s: &str) -> Result { [INFO] [stdout] | --------- the method is available for `fn({type error}) -> {type error} {remainder_after_skipping_past_next_at}` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Parser` which provides `parse_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use syn_pub_items::parse::Parser; [INFO] [stdout] | [INFO] [stdout] help: there is a method `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - .parse_str("a @ b c") [INFO] [stdout] 34 + .parse("a @ b c") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/attr.rs - attr::Attribute (line 71) [INFO] [stdout] src/attr.rs - attr::AttributeArgs (line 485) [INFO] [stdout] src/error.rs - error::Error::new (line 56) [INFO] [stdout] src/expr.rs - expr::Expr (line 21) [INFO] [stdout] src/expr.rs - expr::Expr (line 54) [INFO] [stdout] src/expr.rs - expr::Expr (line 68) [INFO] [stdout] src/expr.rs - expr::Expr (line 83) [INFO] [stdout] src/ext.rs - ext::IdentExt::parse_any (line 20) [INFO] [stdout] src/generics.rs - generics::Generics::split_for_impl (line 295) [INFO] [stdout] src/group.rs - group::braced (line 158) [INFO] [stdout] src/group.rs - group::bracketed (line 236) [INFO] [stdout] src/group.rs - group::parenthesized (line 101) [INFO] [stdout] src/keyword.rs - keyword::custom_keyword (line 10) [INFO] [stdout] src/keyword.rs - keyword::custom_keyword (line 46) [INFO] [stdout] src/lib.rs - (line 67) [INFO] [stdout] src/lib.rs - parse (line 587) [INFO] [stdout] src/lib.rs - parse_str (line 647) [INFO] [stdout] src/lifetime.rs - lifetime::Lifetime::new (line 38) [INFO] [stdout] src/lit.rs - lit::LitStr::parse (line 122) [INFO] [stdout] src/lit.rs - lit::LitStr::parse_with (line 158) [INFO] [stdout] src/lookahead.rs - lookahead::Lookahead1 (line 24) [INFO] [stdout] src/parse.rs - parse (line 104) [INFO] [stdout] src/parse.rs - parse (line 157) [INFO] [stdout] src/parse.rs - parse (line 28) [INFO] [stdout] src/parse.rs - parse::ParseBuffer<'a>::call (line 430) [INFO] [stdout] src/parse.rs - parse::ParseBuffer<'a>::error (line 855) [INFO] [stdout] src/parse.rs - parse::ParseBuffer<'a>::fork (line 730) [INFO] [stdout] src/parse.rs - parse::ParseBuffer<'a>::fork (line 784) [INFO] [stdout] src/parse.rs - parse::ParseBuffer<'a>::is_empty (line 641) [INFO] [stdout] src/parse.rs - parse::ParseBuffer<'a>::lookahead1 (line 680) [INFO] [stdout] src/parse.rs - parse::ParseBuffer<'a>::parse_terminated (line 589) [INFO] [stdout] src/parse.rs - parse::ParseBuffer<'a>::peek (line 481) [INFO] [stdout] src/parse.rs - parse::ParseBuffer<'a>::peek2 (line 548) [INFO] [stdout] src/parse.rs - parse::ParseBuffer<'a>::step (line 892) [INFO] [stdout] src/parse.rs - parse::StepCursor (line 296) [INFO] [stdout] src/parse_macro_input.rs - parse_macro_input::parse_macro_input (line 11) [INFO] [stdout] src/parse_quote.rs - parse_quote::parse_quote (line 11) [INFO] [stdout] src/parse_quote.rs - parse_quote::parse_quote (line 36) [INFO] [stdout] src/path.rs - path::parsing::Path::parse_mod_style (line 362) [INFO] [stdout] src/spanned.rs - spanned (line 23) [INFO] [stdout] src/token.rs - token (line 15) [INFO] [stdout] src/token.rs - token (line 43) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 42 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.38s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "300fac5a43bcc18807dda7ca6797cff95f5d40eceb75644defd727a5957a9496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "300fac5a43bcc18807dda7ca6797cff95f5d40eceb75644defd727a5957a9496", kill_on_drop: false }` [INFO] [stdout] 300fac5a43bcc18807dda7ca6797cff95f5d40eceb75644defd727a5957a9496