[INFO] fetching crate threescalers 0.8.0... [INFO] checking threescalers-0.8.0 against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] extracting crate threescalers 0.8.0 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking crates.io crate threescalers 0.8.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate threescalers 0.8.0 [INFO] tweaked toml for crates.io crate threescalers 0.8.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate threescalers 0.8.0 on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate threescalers 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfe0d64f68a884dd9ab816febd9ac1594fe2bd6ca404b390027defa3c68bda99 [INFO] running `Command { std: "docker" "start" "-a" "dfe0d64f68a884dd9ab816febd9ac1594fe2bd6ca404b390027defa3c68bda99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfe0d64f68a884dd9ab816febd9ac1594fe2bd6ca404b390027defa3c68bda99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfe0d64f68a884dd9ab816febd9ac1594fe2bd6ca404b390027defa3c68bda99", kill_on_drop: false }` [INFO] [stdout] dfe0d64f68a884dd9ab816febd9ac1594fe2bd6ca404b390027defa3c68bda99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9faef9bf9dc76d20c0295bf8b385beb7f888d894fb73190e0970dea3d83ce939 [INFO] running `Command { std: "docker" "start" "-a" "9faef9bf9dc76d20c0295bf8b385beb7f888d894fb73190e0970dea3d83ce939", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling threescalers v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking serde-xml-rs v0.4.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stdout] error[E0659]: `matches` is ambiguous [INFO] [stdout] --> src/api_call.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | matches!(self, Kind::Report) [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module [INFO] [stdout] note: `matches` could refer to the macro defined here [INFO] [stdout] --> src/util/compat/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! matches { [INFO] [stdout] 4 | | ($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => { [INFO] [stdout] 5 | | match $expression { [INFO] [stdout] 6 | | $( $pattern )|+ $( if $guard )? => true, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `matches` could also refer to the macro imported here [INFO] [stdout] --> src/api_call.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `matches` is ambiguous [INFO] [stdout] --> src/http/parameters.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | !matches!(*method, Method::GET | Method::HEAD | Method::DELETE) [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module [INFO] [stdout] note: `matches` could refer to the macro defined here [INFO] [stdout] --> src/util/compat/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! matches { [INFO] [stdout] 4 | | ($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => { [INFO] [stdout] 5 | | match $expression { [INFO] [stdout] 6 | | $( $pattern )|+ $( if $guard )? => true, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `matches` could also refer to the macro imported here [INFO] [stdout] --> src/http/parameters.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `matches` is ambiguous [INFO] [stdout] --> src/response.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | matches!(self, Self::Status(_)) [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module [INFO] [stdout] note: `matches` could refer to the macro defined here [INFO] [stdout] --> src/util/compat/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! matches { [INFO] [stdout] 4 | | ($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => { [INFO] [stdout] 5 | | match $expression { [INFO] [stdout] 6 | | $( $pattern )|+ $( if $guard )? => true, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `matches` could also refer to the macro imported here [INFO] [stdout] --> src/response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `matches` is ambiguous [INFO] [stdout] --> src/response.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | matches!(self, Self::Error(_)) [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module [INFO] [stdout] note: `matches` could refer to the macro defined here [INFO] [stdout] --> src/util/compat/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! matches { [INFO] [stdout] 4 | | ($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => { [INFO] [stdout] 5 | | match $expression { [INFO] [stdout] 6 | | $( $pattern )|+ $( if $guard )? => true, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `matches` could also refer to the macro imported here [INFO] [stdout] --> src/response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `feature_never_type` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature_never_type, feature(never_type))] [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(feature_never_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_never_type)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `feature_matches_macro` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(feature_matches_macro, feature(matches_macro))] [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(feature_matches_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_matches_macro)");` 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: `feature_inner_deref` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(feature_inner_deref, feature(inner_deref))] [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(feature_inner_deref)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_inner_deref)");` 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: `feature_test` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(feature_test, feature(test))] [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(feature_test)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_test)");` 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: `feature_transparent_enums` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(feature_transparent_enums, feature(transparent_enums))] [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(feature_transparent_enums)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_transparent_enums)");` 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: `feature_test` [INFO] [stdout] --> src/lib.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(test, feature_test))] [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(feature_test)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_test)");` 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: `supports_inner_deref` [INFO] [stdout] --> src/util/compat/features.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(supports_inner_deref))] [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(supports_inner_deref)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_inner_deref)");` 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: `supports_inner_deref` [INFO] [stdout] --> src/util/compat/features.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(supports_inner_deref))] [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(supports_inner_deref)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_inner_deref)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stdout] --> src/util/compat/features.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(has_core_iter_Iterator_reduce))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stdout] --> src/util/compat/features.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(not(has_core_iter_Iterator_reduce))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_result_Result_as_deref` [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(has_core_result_Result_as_deref))] [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(has_core_result_Result_as_deref)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_result_Result_as_deref)");` 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: `has_core_result_Result_as_deref` [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(has_core_result_Result_as_deref))] [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(has_core_result_Result_as_deref)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_result_Result_as_deref)");` 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: `has_core_result_Result_as_deref_mut` [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(has_core_result_Result_as_deref_mut))] [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(has_core_result_Result_as_deref_mut)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_result_Result_as_deref_mut)");` 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: `has_core_result_Result_as_deref_mut` [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(not(has_core_result_Result_as_deref_mut))] [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(has_core_result_Result_as_deref_mut)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_result_Result_as_deref_mut)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InnerDerefExt` and `InnerDerefMutExt` [INFO] [stdout] --> src/util/compat/features.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub use inner_deref::{InnerDerefExt, InnerDerefMutExt}; [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: `supports_never_type` [INFO] [stdout] --> src/util/compat/features/never.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(supports_never_type)] [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(supports_never_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_never_type)");` 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: `supports_never_type` [INFO] [stdout] --> src/util/compat/features/never.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(supports_never_type))] [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(supports_never_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_never_type)");` 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: `supports_macro_matches` [INFO] [stdout] --> src/util/compat/macros.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(supports_macro_matches))] [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(supports_macro_matches)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_macro_matches)");` 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: `compat::features::Never` [INFO] [stdout] --> src/util.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use compat::features::Never; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `feature_test` [INFO] [stdout] --> src/http/parameters.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(all(test, feature_test))] [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(feature_test)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_test)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stdout] --> src/http/mapping_rule/escaping.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(has_core_iter_Iterator_reduce))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stdout] --> src/http/mapping_rule/escaping.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(not(has_core_iter_Iterator_reduce), allow(unstable_name_collisions))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stdout] --> src/http/mapping_rule/escaping.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg_attr(not(has_core_iter_Iterator_reduce), allow(unstable_name_collisions))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `supports_transparent_enums` [INFO] [stdout] --> src/response/usage_report.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg_attr(supports_transparent_enums, repr(transparent))] [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(supports_transparent_enums)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_transparent_enums)");` 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: `supports_matches_macro` [INFO] [stdout] --> src/response.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(supports_matches_macro))] [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(supports_matches_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `supports_matches_macro` [INFO] [stdout] --> src/response.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(supports_matches_macro)] [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(supports_matches_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `supports_matches_macro` [INFO] [stdout] --> src/response.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(not(supports_matches_macro))] [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(supports_matches_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `supports_matches_macro` [INFO] [stdout] --> src/response.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(supports_matches_macro)] [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(supports_matches_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `Result` [INFO] [stdout] --> src/lib.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | pub use anyhow::{anyhow, Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `threescalers` (lib) due to 4 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0659]: `matches` is ambiguous [INFO] [stdout] --> src/api_call.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | matches!(self, Kind::Report) [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module [INFO] [stdout] note: `matches` could refer to the macro defined here [INFO] [stdout] --> src/util/compat/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! matches { [INFO] [stdout] 4 | | ($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => { [INFO] [stdout] 5 | | match $expression { [INFO] [stdout] 6 | | $( $pattern )|+ $( if $guard )? => true, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `matches` could also refer to the macro imported here [INFO] [stdout] --> src/api_call.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `matches` is ambiguous [INFO] [stdout] --> src/http/parameters.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | !matches!(*method, Method::GET | Method::HEAD | Method::DELETE) [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module [INFO] [stdout] note: `matches` could refer to the macro defined here [INFO] [stdout] --> src/util/compat/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! matches { [INFO] [stdout] 4 | | ($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => { [INFO] [stdout] 5 | | match $expression { [INFO] [stdout] 6 | | $( $pattern )|+ $( if $guard )? => true, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `matches` could also refer to the macro imported here [INFO] [stdout] --> src/http/parameters.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `matches` is ambiguous [INFO] [stdout] --> src/http/mapping_rule/method.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | assert!(matches!(Method::from("ANY"), Method::Any)); [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module [INFO] [stdout] note: `matches` could refer to the macro defined here [INFO] [stdout] --> src/util/compat/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! matches { [INFO] [stdout] 4 | | ($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => { [INFO] [stdout] 5 | | match $expression { [INFO] [stdout] 6 | | $( $pattern )|+ $( if $guard )? => true, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `matches` could also refer to the macro imported here [INFO] [stdout] --> src/http/mapping_rule/method.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: use `self::matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `matches` is ambiguous [INFO] [stdout] --> src/http/mapping_rule/method.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | assert!(matches!(Method::from("ANY".to_string()), Method::Any)); [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module [INFO] [stdout] note: `matches` could refer to the macro defined here [INFO] [stdout] --> src/util/compat/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! matches { [INFO] [stdout] 4 | | ($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => { [INFO] [stdout] 5 | | match $expression { [INFO] [stdout] 6 | | $( $pattern )|+ $( if $guard )? => true, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `matches` could also refer to the macro imported here [INFO] [stdout] --> src/http/mapping_rule/method.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: use `self::matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `matches` is ambiguous [INFO] [stdout] --> src/response.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | matches!(self, Self::Status(_)) [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module [INFO] [stdout] note: `matches` could refer to the macro defined here [INFO] [stdout] --> src/util/compat/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! matches { [INFO] [stdout] 4 | | ($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => { [INFO] [stdout] 5 | | match $expression { [INFO] [stdout] 6 | | $( $pattern )|+ $( if $guard )? => true, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `matches` could also refer to the macro imported here [INFO] [stdout] --> src/response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `matches` is ambiguous [INFO] [stdout] --> src/response.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | matches!(self, Self::Error(_)) [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module [INFO] [stdout] note: `matches` could refer to the macro defined here [INFO] [stdout] --> src/util/compat/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! matches { [INFO] [stdout] 4 | | ($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => { [INFO] [stdout] 5 | | match $expression { [INFO] [stdout] 6 | | $( $pattern )|+ $( if $guard )? => true, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `matches` could also refer to the macro imported here [INFO] [stdout] --> src/response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `feature_never_type` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature_never_type, feature(never_type))] [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(feature_never_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_never_type)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `feature_matches_macro` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(feature_matches_macro, feature(matches_macro))] [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(feature_matches_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_matches_macro)");` 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: `feature_inner_deref` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(feature_inner_deref, feature(inner_deref))] [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(feature_inner_deref)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_inner_deref)");` 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: `feature_test` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(feature_test, feature(test))] [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(feature_test)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_test)");` 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: `feature_transparent_enums` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(feature_transparent_enums, feature(transparent_enums))] [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(feature_transparent_enums)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_transparent_enums)");` 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: `feature_test` [INFO] [stdout] --> src/lib.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(test, feature_test))] [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(feature_test)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_test)");` 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: `supports_inner_deref` [INFO] [stdout] --> src/util/compat/features.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(supports_inner_deref))] [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(supports_inner_deref)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_inner_deref)");` 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: `supports_inner_deref` [INFO] [stdout] --> src/util/compat/features.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(supports_inner_deref))] [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(supports_inner_deref)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_inner_deref)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stdout] --> src/util/compat/features.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(has_core_iter_Iterator_reduce))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stdout] --> src/util/compat/features.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(not(has_core_iter_Iterator_reduce))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_result_Result_as_deref` [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(has_core_result_Result_as_deref))] [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(has_core_result_Result_as_deref)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_result_Result_as_deref)");` 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: `has_core_result_Result_as_deref` [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(has_core_result_Result_as_deref))] [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(has_core_result_Result_as_deref)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_result_Result_as_deref)");` 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: `has_core_result_Result_as_deref_mut` [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(has_core_result_Result_as_deref_mut))] [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(has_core_result_Result_as_deref_mut)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_result_Result_as_deref_mut)");` 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: `has_core_result_Result_as_deref_mut` [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(not(has_core_result_Result_as_deref_mut))] [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(has_core_result_Result_as_deref_mut)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_result_Result_as_deref_mut)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InnerDerefExt` and `InnerDerefMutExt` [INFO] [stdout] --> src/util/compat/features.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub use inner_deref::{InnerDerefExt, InnerDerefMutExt}; [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: `supports_never_type` [INFO] [stdout] --> src/util/compat/features/never.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(supports_never_type)] [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(supports_never_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_never_type)");` 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: `supports_never_type` [INFO] [stdout] --> src/util/compat/features/never.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(supports_never_type))] [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(supports_never_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_never_type)");` 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: `supports_macro_matches` [INFO] [stdout] --> src/util/compat/macros.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(supports_macro_matches))] [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(supports_macro_matches)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_macro_matches)");` 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: `compat::features::Never` [INFO] [stdout] --> src/util.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use compat::features::Never; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `feature_test` [INFO] [stdout] --> src/http/parameters.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(all(test, feature_test))] [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(feature_test)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_test)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stdout] --> src/http/mapping_rule/escaping.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(has_core_iter_Iterator_reduce))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stdout] --> src/http/mapping_rule/escaping.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(not(has_core_iter_Iterator_reduce), allow(unstable_name_collisions))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stdout] --> src/http/mapping_rule/escaping.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg_attr(not(has_core_iter_Iterator_reduce), allow(unstable_name_collisions))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `supports_transparent_enums` [INFO] [stdout] --> src/response/usage_report.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg_attr(supports_transparent_enums, repr(transparent))] [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(supports_transparent_enums)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_transparent_enums)");` 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: `supports_matches_macro` [INFO] [stdout] --> src/response.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(supports_matches_macro))] [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(supports_matches_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `supports_matches_macro` [INFO] [stdout] --> src/response.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(supports_matches_macro)] [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(supports_matches_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `supports_matches_macro` [INFO] [stdout] --> src/response.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(not(supports_matches_macro))] [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(supports_matches_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `supports_matches_macro` [INFO] [stdout] --> src/response.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(supports_matches_macro)] [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(supports_matches_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `Result` [INFO] [stdout] --> src/lib.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | pub use anyhow::{anyhow, Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `threescalers` (lib test) due to 6 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9faef9bf9dc76d20c0295bf8b385beb7f888d894fb73190e0970dea3d83ce939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9faef9bf9dc76d20c0295bf8b385beb7f888d894fb73190e0970dea3d83ce939", kill_on_drop: false }` [INFO] [stdout] 9faef9bf9dc76d20c0295bf8b385beb7f888d894fb73190e0970dea3d83ce939