[INFO] fetching crate threescalers 0.8.0... [INFO] testing threescalers-0.8.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate threescalers 0.8.0 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate threescalers 0.8.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.25 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded tinyvec v1.2.0 [INFO] [stderr] Downloaded futures-sink v0.3.15 [INFO] [stderr] Downloaded slab v0.4.3 [INFO] [stderr] Downloaded futures-io v0.3.15 [INFO] [stderr] Downloaded futures-channel v0.3.15 [INFO] [stderr] Downloaded anyhow v1.0.41 [INFO] [stderr] Downloaded tracing v0.1.26 [INFO] [stderr] Downloaded security-framework v2.3.1 [INFO] [stderr] Downloaded futures-util v0.3.15 [INFO] [stderr] Downloaded curl v0.4.38 [INFO] [stderr] Downloaded http v0.2.4 [INFO] [stderr] Downloaded mio v0.7.13 [INFO] [stderr] Downloaded tokio-util v0.6.7 [INFO] [stderr] Downloaded h2 v0.3.3 [INFO] [stderr] Downloaded hyper v0.14.9 [INFO] [stderr] Downloaded reqwest v0.11.4 [INFO] [stderr] Downloaded openssl v0.10.35 [INFO] [stderr] Downloaded openssl-sys v0.9.65 [INFO] [stderr] Downloaded indexmap v1.6.2 [INFO] [stderr] Downloaded httparse v1.4.1 [INFO] [stderr] Downloaded tracing-core v0.1.18 [INFO] [stderr] Downloaded socket2 v0.4.0 [INFO] [stderr] Downloaded core-foundation v0.9.1 [INFO] [stderr] Downloaded native-tls v0.2.7 [INFO] [stderr] Downloaded pin-project-lite v0.2.6 [INFO] [stderr] Downloaded futures-task v0.3.15 [INFO] [stderr] Downloaded tokio v1.7.1 [INFO] [stderr] Downloaded futures-core v0.3.15 [INFO] [stderr] Downloaded redox_syscall v0.2.9 [INFO] [stderr] Downloaded httpdate v1.0.1 [INFO] [stderr] Downloaded security-framework-sys v2.3.0 [INFO] [stderr] Downloaded unicode-bidi v0.3.5 [INFO] [stderr] Downloaded thiserror v1.0.25 [INFO] [stderr] Downloaded http-body v0.4.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.24 [INFO] [stderr] Downloaded serde-xml-rs v0.4.1 [INFO] [stderr] Downloaded libz-sys v1.1.3 [INFO] [stderr] Downloaded encoding_rs v0.8.28 [INFO] [stderr] Downloaded curl-sys v0.4.44+curl-7.77.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 031ae8ac299071fb1a117c1a73d2347150b65dd54685db8beb7f4566b7fee260 [INFO] running `Command { std: "docker" "start" "-a" "031ae8ac299071fb1a117c1a73d2347150b65dd54685db8beb7f4566b7fee260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "031ae8ac299071fb1a117c1a73d2347150b65dd54685db8beb7f4566b7fee260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031ae8ac299071fb1a117c1a73d2347150b65dd54685db8beb7f4566b7fee260", kill_on_drop: false }` [INFO] [stdout] 031ae8ac299071fb1a117c1a73d2347150b65dd54685db8beb7f4566b7fee260 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7c09c294f1951e8e7f6423478d1b6ccd29af3f71fee2e5d134ec20204e6ea821 [INFO] running `Command { std: "docker" "start" "-a" "7c09c294f1951e8e7f6423478d1b6ccd29af3f71fee2e5d134ec20204e6ea821", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling threescalers v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling serde-xml-rs v0.4.1 [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)]` 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] warning: trait `InnerDerefExt` is never used [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait InnerDerefExt [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InnerDerefMutExt` is never used [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait InnerDerefMutExt [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn build(&self) -> Result { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn build(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn builder(service: &'a Service) -> Builder { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 89 | pub fn builder(service: &'a Service) -> Builder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn usage(&self) -> Option<&Usage> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn usage(&self) -> Option<&Usage<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn extensions(&self) -> Option<&List> { [INFO] [stdout] | ^^^^^ ----- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn extensions(&self) -> Option<&List<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/encoding.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn encode(s: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn encode(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http/request.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn uri_and_body(&self) -> (Cow, Option<&str>) { [INFO] [stdout] | ^^^^^ -------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn uri_and_body(&self) -> (Cow<'_, str>, Option<&str>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn usage(&self) -> Option<&Usage> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn usage(&self) -> Option<&Usage<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/response/metrics_hierarchy.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> Iter<'_, String, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/response/metrics_hierarchy.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn iter_mut(&mut self) -> IterMut> { [INFO] [stdout] | ^^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn iter_mut(&mut self) -> IterMut<'_, String, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.37s [INFO] running `Command { std: "docker" "inspect" "7c09c294f1951e8e7f6423478d1b6ccd29af3f71fee2e5d134ec20204e6ea821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c09c294f1951e8e7f6423478d1b6ccd29af3f71fee2e5d134ec20204e6ea821", kill_on_drop: false }` [INFO] [stdout] 7c09c294f1951e8e7f6423478d1b6ccd29af3f71fee2e5d134ec20204e6ea821 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 63f67e37b62d6f5bd4f5911f8b4cbe2ba244b7dc4ba1bcded85634608a33b207 [INFO] running `Command { std: "docker" "start" "-a" "63f67e37b62d6f5bd4f5911f8b4cbe2ba244b7dc4ba1bcded85634608a33b207", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v0.4.7 [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)]` 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] warning: trait `InnerDerefExt` is never used [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait InnerDerefExt [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InnerDerefMutExt` is never used [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait InnerDerefMutExt [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn build(&self) -> Result { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn build(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn builder(service: &'a Service) -> Builder { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 89 | pub fn builder(service: &'a Service) -> Builder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn usage(&self) -> Option<&Usage> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn usage(&self) -> Option<&Usage<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn extensions(&self) -> Option<&List> { [INFO] [stdout] | ^^^^^ ----- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn extensions(&self) -> Option<&List<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/encoding.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn encode(s: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn encode(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http/request.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn uri_and_body(&self) -> (Cow, Option<&str>) { [INFO] [stdout] | ^^^^^ -------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn uri_and_body(&self) -> (Cow<'_, str>, Option<&str>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn usage(&self) -> Option<&Usage> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn usage(&self) -> Option<&Usage<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/response/metrics_hierarchy.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> Iter<'_, String, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/response/metrics_hierarchy.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn iter_mut(&mut self) -> IterMut> { [INFO] [stdout] | ^^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn iter_mut(&mut self) -> IterMut<'_, String, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling threescalers v0.8.0 (/opt/rustwide/workdir) [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)]` 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] warning: trait `InnerDerefExt` is never used [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait InnerDerefExt [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InnerDerefMutExt` is never used [INFO] [stdout] --> src/util/compat/features/inner_deref.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait InnerDerefMutExt [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn build(&self) -> Result { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn build(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn builder(service: &'a Service) -> Builder { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 89 | pub fn builder(service: &'a Service) -> Builder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn usage(&self) -> Option<&Usage> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn usage(&self) -> Option<&Usage<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api_call.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn extensions(&self) -> Option<&List> { [INFO] [stdout] | ^^^^^ ----- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn extensions(&self) -> Option<&List<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/encoding.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn encode(s: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn encode(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http/request.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn uri_and_body(&self) -> (Cow, Option<&str>) { [INFO] [stdout] | ^^^^^ -------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn uri_and_body(&self) -> (Cow<'_, str>, Option<&str>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn usage(&self) -> Option<&Usage> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn usage(&self) -> Option<&Usage<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/response/metrics_hierarchy.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> Iter<'_, String, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/response/metrics_hierarchy.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn iter_mut(&mut self) -> IterMut> { [INFO] [stdout] | ^^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn iter_mut(&mut self) -> IterMut<'_, String, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.07s [INFO] running `Command { std: "docker" "inspect" "63f67e37b62d6f5bd4f5911f8b4cbe2ba244b7dc4ba1bcded85634608a33b207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63f67e37b62d6f5bd4f5911f8b4cbe2ba244b7dc4ba1bcded85634608a33b207", kill_on_drop: false }` [INFO] [stdout] 63f67e37b62d6f5bd4f5911f8b4cbe2ba244b7dc4ba1bcded85634608a33b207 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5c888fc6b74b2b62ca9cdbba3daab375e4bb4704f2838ec7ef18212ceb99b39b [INFO] running `Command { std: "docker" "start" "-a" "5c888fc6b74b2b62ca9cdbba3daab375e4bb4704f2838ec7ef18212ceb99b39b", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `feature_never_type` [INFO] [stderr] --> src/lib.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(feature_never_type, feature(never_type))] [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(feature_never_type)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_never_type)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `feature_matches_macro` [INFO] [stderr] --> src/lib.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(feature_matches_macro, feature(matches_macro))] [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(feature_matches_macro)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_matches_macro)");` 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: `feature_inner_deref` [INFO] [stderr] --> src/lib.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | #![cfg_attr(feature_inner_deref, feature(inner_deref))] [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(feature_inner_deref)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_inner_deref)");` 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: `feature_test` [INFO] [stderr] --> src/lib.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | #![cfg_attr(feature_test, feature(test))] [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(feature_test)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_test)");` 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: `feature_transparent_enums` [INFO] [stderr] --> src/lib.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | #![cfg_attr(feature_transparent_enums, feature(transparent_enums))] [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(feature_transparent_enums)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_transparent_enums)");` 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: `feature_test` [INFO] [stderr] --> src/lib.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | #[cfg(all(test, feature_test))] [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(feature_test)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_test)");` 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: `supports_inner_deref` [INFO] [stderr] --> src/util/compat/features.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(not(supports_inner_deref))] [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(supports_inner_deref)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_inner_deref)");` 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: `supports_inner_deref` [INFO] [stderr] --> src/util/compat/features.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(not(supports_inner_deref))] [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(supports_inner_deref)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_inner_deref)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stderr] --> src/util/compat/features.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | #[cfg(not(has_core_iter_Iterator_reduce))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stderr] --> src/util/compat/features.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | #[cfg(not(has_core_iter_Iterator_reduce))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_result_Result_as_deref` [INFO] [stderr] --> src/util/compat/features/inner_deref.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(not(has_core_result_Result_as_deref))] [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(has_core_result_Result_as_deref)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_result_Result_as_deref)");` 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: `has_core_result_Result_as_deref` [INFO] [stderr] --> src/util/compat/features/inner_deref.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(not(has_core_result_Result_as_deref))] [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(has_core_result_Result_as_deref)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_result_Result_as_deref)");` 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: `has_core_result_Result_as_deref_mut` [INFO] [stderr] --> src/util/compat/features/inner_deref.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg(not(has_core_result_Result_as_deref_mut))] [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(has_core_result_Result_as_deref_mut)'] } [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_core_result_Result_as_deref_mut` [INFO] [stderr] --> src/util/compat/features/inner_deref.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(not(has_core_result_Result_as_deref_mut))] [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(has_core_result_Result_as_deref_mut)'] } [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused imports: `InnerDerefExt` and `InnerDerefMutExt` [INFO] [stderr] --> src/util/compat/features.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | pub use inner_deref::{InnerDerefExt, InnerDerefMutExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `supports_never_type` [INFO] [stderr] --> src/util/compat/features/never.rs:2:7 [INFO] [stderr] | [INFO] [stderr] 2 | #[cfg(supports_never_type)] [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(supports_never_type)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_never_type)");` 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: `supports_never_type` [INFO] [stderr] --> src/util/compat/features/never.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | #[cfg(not(supports_never_type))] [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(supports_never_type)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_never_type)");` 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: `supports_macro_matches` [INFO] [stderr] --> src/util/compat/macros.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(not(supports_macro_matches))] [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(supports_macro_matches)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_macro_matches)");` 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: `compat::features::Never` [INFO] [stderr] --> src/util.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use compat::features::Never; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `feature_test` [INFO] [stderr] --> src/http/parameters.rs:123:17 [INFO] [stderr] | [INFO] [stderr] 123 | #[cfg(all(test, feature_test))] [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(feature_test)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(feature_test)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stderr] --> src/http/mapping_rule/escaping.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(not(has_core_iter_Iterator_reduce))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stderr] --> src/http/mapping_rule/escaping.rs:34:16 [INFO] [stderr] | [INFO] [stderr] 34 | #[cfg_attr(not(has_core_iter_Iterator_reduce), allow(unstable_name_collisions))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `has_core_iter_Iterator_reduce` [INFO] [stderr] --> src/http/mapping_rule/escaping.rs:83:16 [INFO] [stderr] | [INFO] [stderr] 83 | #[cfg_attr(not(has_core_iter_Iterator_reduce), allow(unstable_name_collisions))] [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(has_core_iter_Iterator_reduce)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_iter_Iterator_reduce)");` 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: `supports_transparent_enums` [INFO] [stderr] --> src/response/usage_report.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 102 | #[cfg_attr(supports_transparent_enums, repr(transparent))] [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(supports_transparent_enums)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_transparent_enums)");` 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: `supports_matches_macro` [INFO] [stderr] --> src/response.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | #[cfg(not(supports_matches_macro))] [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(supports_matches_macro)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `supports_matches_macro` [INFO] [stderr] --> src/response.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | #[cfg(supports_matches_macro)] [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(supports_matches_macro)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `supports_matches_macro` [INFO] [stderr] --> src/response.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | #[cfg(not(supports_matches_macro))] [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(supports_matches_macro)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `supports_matches_macro` [INFO] [stderr] --> src/response.rs:42:15 [INFO] [stderr] | [INFO] [stderr] 42 | #[cfg(supports_matches_macro)] [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(supports_matches_macro)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(supports_matches_macro)");` 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: `Result` [INFO] [stderr] --> src/lib.rs:34:37 [INFO] [stderr] | [INFO] [stderr] 34 | pub use anyhow::{anyhow, Error, Result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `InnerDerefExt` is never used [INFO] [stderr] --> src/util/compat/features/inner_deref.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | pub trait InnerDerefExt [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `InnerDerefMutExt` is never used [INFO] [stderr] --> src/util/compat/features/inner_deref.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | pub trait InnerDerefMutExt [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/api_call.rs:75:18 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn build(&self) -> Result { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 75 | pub fn build(&self) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/api_call.rs:89:30 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn builder(service: &'a Service) -> Builder { [INFO] [stderr] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 89 | pub fn builder(service: &'a Service) -> Builder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/api_call.rs:139:18 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn usage(&self) -> Option<&Usage> { [INFO] [stderr] | ^^^^^ ------ [INFO] [stderr] | | || [INFO] [stderr] | | |the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 139 | pub fn usage(&self) -> Option<&Usage<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/api_call.rs:143:23 [INFO] [stderr] | [INFO] [stderr] 143 | pub fn extensions(&self) -> Option<&List> { [INFO] [stderr] | ^^^^^ ----- [INFO] [stderr] | | || [INFO] [stderr] | | |the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 143 | pub fn extensions(&self) -> Option<&List<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/encoding.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn encode(s: &str) -> Cow { [INFO] [stderr] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 14 | pub fn encode(s: &str) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/http/request.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn uri_and_body(&self) -> (Cow, Option<&str>) { [INFO] [stderr] | ^^^^^ -------- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 51 | pub fn uri_and_body(&self) -> (Cow<'_, str>, Option<&str>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/transaction.rs:36:18 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn usage(&self) -> Option<&Usage> { [INFO] [stderr] | ^^^^^ ------ [INFO] [stderr] | | || [INFO] [stderr] | | |the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 36 | pub fn usage(&self) -> Option<&Usage<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/response/metrics_hierarchy.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn iter(&self) -> Iter> { [INFO] [stderr] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 38 | pub fn iter(&self) -> Iter<'_, String, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/response/metrics_hierarchy.rs:42:21 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn iter_mut(&mut self) -> IterMut> { [INFO] [stderr] | ^^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 42 | pub fn iter_mut(&mut self) -> IterMut<'_, String, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `threescalers` (lib) generated 40 warnings (run `cargo fix --lib -p threescalers` to apply 12 suggestions) [INFO] [stderr] warning: `threescalers` (lib test) generated 40 warnings (40 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/threescalers-0104d823d3ef0247) [INFO] [stdout] [INFO] [stdout] running 50 tests [INFO] [stdout] test application::tests::convert_application_from_user_key ... ok [INFO] [stdout] test application::tests::convert_application_from_app_id_app_key ... ok [INFO] [stdout] test application::tests::transforms_user_key_into_params ... ok [INFO] [stdout] test application::tests::transforms_app_id_and_key_into_params ... ok [INFO] [stdout] test application::tests::transforms_oauth_token_into_params ... ok [INFO] [stdout] test application::tests::convert_application_from_app_id ... ok [INFO] [stdout] test application::tests::transforms_app_id_into_params ... ok [INFO] [stdout] test application::tests::convert_application_from_oauth_token ... ok [INFO] [stdout] test extensions::extension::tests::test_to_cow_is_well_encoded ... ok [INFO] [stdout] test http::mapping_rule::escaping::test::coalesce_chars::remove_duped_forward_slashes ... ok [INFO] [stdout] test http::mapping_rule::escaping::test::path_regex::match_dollar_sign_at_end ... ok [INFO] [stdout] test http::mapping_rule::escaping::test::split_path_n_qs::strips_question_mark ... ok [INFO] [stdout] test http::mapping_rule::method::test::any_matches_every_other_method ... ok [INFO] [stdout] test http::mapping_rule::method::test::equality_and_identity ... ok [INFO] [stdout] test http::mapping_rule::method::test::transitive_id_with_method_any ... ok [INFO] [stdout] test http::mapping_rule::method::test::transitive_id_with_strings ... ok [INFO] [stdout] test http::mapping_rule::method::test::other_only_matches_exact_other ... ok [INFO] [stdout] test http::mapping_rule::escaping::test::path_regex::match_prefix ... ok [INFO] [stdout] test http::mapping_rule::escaping::test::path_regex::match_special_chars ... ok [INFO] [stdout] test http::mapping_rule::escaping::test::path_regex::match_fail ... ok [INFO] [stdout] test http::mapping_rule::escaping::test::path_regex::match_exact ... ok [INFO] [stdout] test http::mapping_rule::escaping::test::query_string_regex::builds_correct_qs_param_regexes ... ok [INFO] [stdout] test http::parameters::benches::bench_params_to_query ... ok [INFO] [stdout] test http::mapping_rule::tests::match_simple_case ... ok [INFO] [stdout] test response::tests::metrics_hierarchy_parent_of ... ok [INFO] [stdout] test http::mapping_rule::escaping::test::query_string_regex::matches_qs_parameters ... ok [INFO] [stdout] test response::tests::parse_app_keys ... ok [INFO] [stdout] test response::usage_report::tests::test_usage_report_getters ... ok [INFO] [stdout] test response::tests::parse_empty_app_keys ... ok [INFO] [stdout] test response::usage_report::tests::test_usage_report_counters ... ok [INFO] [stdout] test http::mapping_rule::tests::match_simple_cases ... ok [INFO] [stdout] test response::tests::parse_response_with_no_usage_reports ... ok [INFO] [stdout] test response::tests::parse_denied_authorization ... ok [INFO] [stdout] test response::usage_report::tests::test_deserialization ... ok [INFO] [stdout] test service::service_tests::transforms_service_id_and_key_into_params ... ok [INFO] [stdout] test response::tests::metrics_hierarchy_remove ... ok [INFO] [stdout] test response::tests::parse_invalid_date_format ... ok [INFO] [stdout] test response::tests::parse_error_authorization ... ok [INFO] [stdout] test response::tests::parse_metrics_hierarchy ... ok [INFO] [stdout] test service::service_tests::transforms_service_id_and_token_into_params ... ok [INFO] [stdout] test util::string::test::ensure_all_caps_always_is_fully_capitalized ... ok [INFO] [stdout] test response::tests::parse ... ok [INFO] [stdout] test http::mapping_rule::escaping::test::path_regex::match_double_forward_slashes ... ok [INFO] [stdout] test usage::tests::to_params_from_array ... ok [INFO] [stdout] test usage::tests::to_params_from_slice ... ok [INFO] [stdout] test http::mapping_rule::tests::match_edge_cases ... ok [INFO] [stdout] test user::tests::transforms_oauth_token_into_params ... ok [INFO] [stdout] test user::tests::transforms_user_id_into_params ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test http::mapping_rule::tests::match_combined_cases ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 50 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running tests/api_call.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/api_call-af8f970892488603) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test returns_auth_request_from_service_id_pkey_and_app_id ... ok [INFO] [stdout] test returns_auth_request_from_service_id_pkey_app_id_and_app_key ... ok [INFO] [stdout] test returns_auth_request_from_service_id_pkey_and_oauth_token ... ok [INFO] [stdout] test returns_auth_request_from_service_id_pkey_oauth_token_and_oauth_user ... ignored [INFO] [stdout] test returns_auth_request_from_service_id_pkey_app_id_app_key_and_user_id ... ok [INFO] [stdout] test returns_auth_request_from_service_id_pkey_app_id_app_key_and_oauth_user ... ok [INFO] [stdout] test returns_auth_request_from_service_id_pkey_app_id_and_user_id ... ok [INFO] [stdout] test returns_auth_request_from_service_id_pkey_app_id_and_oauth_user ... ok [INFO] [stdout] test returns_auth_request_from_service_id_pkey_and_user_key ... ok [INFO] [stdout] test returns_auth_request_from_service_id_pkey_oauth_token_and_user_id ... ok [INFO] [stdout] test returns_auth_request_from_service_id_pkey_user_key_and_oauth_user ... ok [INFO] [stdout] test returns_auth_request_from_service_id_pkey_user_key_and_user_id ... ok [INFO] [stdout] test returns_auth_request_from_service_id_token_and_user_key ... ok [INFO] [stdout] test returns_auth_request_from_service_id_token_and_oauth_token ... ok [INFO] [stdout] test returns_auth_request_from_service_id_token_and_app_id ... ok [INFO] [stdout] test returns_auth_request_from_service_id_token_app_id_and_app_key ... ok [INFO] [stdout] test returns_auth_request_from_service_id_token_app_id_and_oauth_user ... ok [INFO] [stdout] test returns_auth_request_from_service_id_token_app_id_app_key_and_oauth_user ... ok [INFO] [stdout] test returns_auth_request_from_service_id_token_oauth_token_and_oauth_user ... ignored [INFO] [stdout] test returns_auth_request_from_service_id_token_app_id_and_user_id ... ok [INFO] [stdout] test returns_auth_request_from_service_id_token_user_key_and_oauth_user ... ok [INFO] [stdout] test returns_auth_request_from_service_id_token_app_id_app_key_and_user_id ... ok [INFO] [stdout] test returns_auth_request_from_service_id_token_user_key_and_user_id ... ok [INFO] [stdout] test returns_auth_request_from_service_id_token_oauth_token_and_user_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5c888fc6b74b2b62ca9cdbba3daab375e4bb4704f2838ec7ef18212ceb99b39b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c888fc6b74b2b62ca9cdbba3daab375e4bb4704f2838ec7ef18212ceb99b39b", kill_on_drop: false }` [INFO] [stdout] 5c888fc6b74b2b62ca9cdbba3daab375e4bb4704f2838ec7ef18212ceb99b39b