[INFO] cloning repository https://github.com/philipc/findpanics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philipc/findpanics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipc%2Ffindpanics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipc%2Ffindpanics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e1b77d10f4fea203812984c00fb57279dcb980e [INFO] linting philipc/findpanics against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipc%2Ffindpanics" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/philipc/findpanics [INFO] finished tweaking git repo https://github.com/philipc/findpanics [INFO] tweaked toml for git repo https://github.com/philipc/findpanics written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/philipc/findpanics on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/philipc/findpanics 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/capstone-rust/capstone-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scroll_derive v0.10.1 [INFO] [stderr] Downloaded yaml-rust v0.4.3 [INFO] [stderr] Downloaded stable_deref_trait v1.1.1 [INFO] [stderr] Downloaded hermit-abi v0.1.6 [INFO] [stderr] Downloaded failure_derive v0.1.6 [INFO] [stderr] Downloaded adler32 v1.0.4 [INFO] [stderr] Downloaded serde v1.0.104 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded uuid v0.8.1 [INFO] [stderr] Downloaded failure v0.1.6 [INFO] [stderr] Downloaded cpp_demangle v0.2.14 [INFO] [stderr] Downloaded backtrace v0.3.43 [INFO] [stderr] Downloaded flate2 v1.0.13 [INFO] [stderr] Downloaded addr2line v0.11.0 [INFO] [stderr] Downloaded goblin v0.1.3 [INFO] [stderr] Downloaded indexmap v1.3.1 [INFO] [stderr] Downloaded miniz_oxide v0.3.5 [INFO] [stderr] Downloaded object v0.17.0 [INFO] [stderr] Downloaded syn v1.0.14 [INFO] [stderr] Downloaded serde_derive v1.0.104 [INFO] [stderr] Downloaded proc-macro2 v1.0.8 [INFO] [stderr] Downloaded serde_yaml v0.8.11 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded smallvec v1.2.0 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded backtrace-sys v0.1.32 [INFO] [stderr] Downloaded gimli v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 857c609432cb391af5b9cb72d0ec4a3673a4981a3dec03b33f1a5b790b482f0d [INFO] running `Command { std: "docker" "start" "-a" "857c609432cb391af5b9cb72d0ec4a3673a4981a3dec03b33f1a5b790b482f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "857c609432cb391af5b9cb72d0ec4a3673a4981a3dec03b33f1a5b790b482f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857c609432cb391af5b9cb72d0ec4a3673a4981a3dec03b33f1a5b790b482f0d", kill_on_drop: false }` [INFO] [stdout] 857c609432cb391af5b9cb72d0ec4a3673a4981a3dec03b33f1a5b790b482f0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8903b5307e3870da9ac0eeb86d151d8caff2c24ecc17f659f541507f5aa2ebe0 [INFO] running `Command { std: "docker" "start" "-a" "8903b5307e3870da9ac0eeb86d151d8caff2c24ecc17f659f541507f5aa2ebe0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Compiling cpp_demangle v0.2.14 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling capstone-sys v0.9.1 (https://github.com/capstone-rust/capstone-rs.git?rev=5044ace8022b1651d1b7c93d41ad56993e0225f5#5044ace8) [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking gimli v0.20.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking backtrace v0.3.43 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling scroll_derive v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking scroll v0.10.1 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking goblin v0.1.3 [INFO] [stderr] Checking object v0.17.0 [INFO] [stderr] Checking addr2line v0.11.0 [INFO] [stderr] Checking capstone v0.5.0 (https://github.com/capstone-rust/capstone-rs.git?rev=5044ace8022b1651d1b7c93d41ad56993e0225f5#5044ace8) [INFO] [stderr] Checking findpanics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Debug, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:330:32 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Debug, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | #[derive(Debug, Default, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:368:37 [INFO] [stdout] | [INFO] [stdout] 368 | #[derive(Debug, Default, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | use addr2line; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | use gimli; [INFO] [stdout] | ^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | use home; [INFO] [stdout] | ^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | use memmap; [INFO] [stdout] | ^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Debug, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:330:32 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Debug, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | #[derive(Debug, Default, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:368:37 [INFO] [stdout] | [INFO] [stdout] 368 | #[derive(Debug, Default, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | use addr2line; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | use gimli; [INFO] [stdout] | ^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | use home; [INFO] [stdout] | ^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | use memmap; [INFO] [stdout] | ^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/main.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | let object = object::File::parse(&*map).map_err(|reason| Error::Object { reason })?; [INFO] [stdout] | ^^^^^ help: try: `&map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:211:40 [INFO] [stdout] | [INFO] [stdout] 211 | ... .unwrap_or(&path) [INFO] [stdout] | ^^^^^ help: change this to: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] 294 | | || name.starts_with("core::") [INFO] [stdout] 295 | | || name.starts_with("std::") [INFO] [stdout] 296 | | || name.starts_with("std_unicode::") [INFO] [stdout] 297 | | || name.starts_with("rustc_demangle::") [INFO] [stdout] 298 | | || name.starts_with("__rust_") [INFO] [stdout] | |______________________________________^ help: try: `name.starts_with("alloc::") || name.starts_with("core::") || name.starts_with("std::") || name.starts_with("std_unicode::") || name.starts_with("rustc_demangle::") || name.starts_with("__rust_")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] 294 | | || name.starts_with("core::") [INFO] [stdout] 295 | | || name.starts_with("std::") [INFO] [stdout] 296 | | || name.starts_with("std_unicode::") [INFO] [stdout] 297 | | || name.starts_with("rustc_demangle::") [INFO] [stdout] | |_______________________________________________^ help: try: `name.starts_with("alloc::") || name.starts_with("core::") || name.starts_with("std::") || name.starts_with("std_unicode::") || name.starts_with("rustc_demangle::")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] 294 | | || name.starts_with("core::") [INFO] [stdout] 295 | | || name.starts_with("std::") [INFO] [stdout] 296 | | || name.starts_with("std_unicode::") [INFO] [stdout] | |____________________________________________^ help: try: `name.starts_with("alloc::") || name.starts_with("core::") || name.starts_with("std::") || name.starts_with("std_unicode::")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] 294 | | || name.starts_with("core::") [INFO] [stdout] 295 | | || name.starts_with("std::") [INFO] [stdout] | |____________________________________^ help: try: `name.starts_with("alloc::") || name.starts_with("core::") || name.starts_with("std::")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] 294 | | || name.starts_with("core::") [INFO] [stdout] | |_____________________________________^ help: try: `name.starts_with("alloc::") || name.starts_with("core::")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] | |______________________________________^ help: try: `name.starts_with("alloc::")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] 312 | | || name == "core::fmt::write" [INFO] [stdout] 313 | | || name == "std::io::Write::write_all" [INFO] [stdout] 314 | | || name == "core::ptr::real_drop_in_place" [INFO] [stdout] 315 | | || name == "alloc::raw_vec::capacity_overflow" [INFO] [stdout] 316 | | || name == "std::rt::lang_start_internal" [INFO] [stdout] | |_________________________________________________^ help: try: `name == "alloc::fmt::format" || name == "core::fmt::write" || name == "std::io::Write::write_all" || name == "core::ptr::real_drop_in_place" || name == "alloc::raw_vec::capacity_overflow" || name == "std::rt::lang_start_internal"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] 312 | | || name == "core::fmt::write" [INFO] [stdout] 313 | | || name == "std::io::Write::write_all" [INFO] [stdout] 314 | | || name == "core::ptr::real_drop_in_place" [INFO] [stdout] 315 | | || name == "alloc::raw_vec::capacity_overflow" [INFO] [stdout] | |______________________________________________________^ help: try: `name == "alloc::fmt::format" || name == "core::fmt::write" || name == "std::io::Write::write_all" || name == "core::ptr::real_drop_in_place" || name == "alloc::raw_vec::capacity_overflow"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] 312 | | || name == "core::fmt::write" [INFO] [stdout] 313 | | || name == "std::io::Write::write_all" [INFO] [stdout] 314 | | || name == "core::ptr::real_drop_in_place" [INFO] [stdout] | |__________________________________________________^ help: try: `name == "alloc::fmt::format" || name == "core::fmt::write" || name == "std::io::Write::write_all" || name == "core::ptr::real_drop_in_place"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] 312 | | || name == "core::fmt::write" [INFO] [stdout] 313 | | || name == "std::io::Write::write_all" [INFO] [stdout] | |______________________________________________^ help: try: `name == "alloc::fmt::format" || name == "core::fmt::write" || name == "std::io::Write::write_all"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] 312 | | || name == "core::fmt::write" [INFO] [stdout] | |_____________________________________^ help: try: `name == "alloc::fmt::format" || name == "core::fmt::write"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] | |_______________________________________^ help: try: `name == "alloc::fmt::format"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:385:34 [INFO] [stdout] | [INFO] [stdout] 385 | ... .cmp(&from) [INFO] [stdout] | ^^^^^ help: change this to: `from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(String::as_str)` on an `Option` value [INFO] [stdout] --> src/main.rs:395:18 [INFO] [stdout] | [INFO] [stdout] 395 | to = frame.function.as_ref().map(String::as_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `frame.function.as_deref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref [INFO] [stdout] = note: `#[warn(clippy::option_as_ref_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 25 | enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 25 | enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Debug, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_WhiteListFrame` [INFO] [stdout] 331 | struct WhiteListFrame { [INFO] [stdout] | -------------- `WhiteListFrame` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:330:32 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Debug, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_WhiteListFrame` [INFO] [stdout] 331 | struct WhiteListFrame { [INFO] [stdout] | -------------- `WhiteListFrame` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | #[derive(Debug, Default, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 369 | struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:368:37 [INFO] [stdout] | [INFO] [stdout] 368 | #[derive(Debug, Default, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 369 | struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/main.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | let object = object::File::parse(&*map).map_err(|reason| Error::Object { reason })?; [INFO] [stdout] | ^^^^^ help: try: `&map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:211:40 [INFO] [stdout] | [INFO] [stdout] 211 | ... .unwrap_or(&path) [INFO] [stdout] | ^^^^^ help: change this to: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] 294 | | || name.starts_with("core::") [INFO] [stdout] 295 | | || name.starts_with("std::") [INFO] [stdout] 296 | | || name.starts_with("std_unicode::") [INFO] [stdout] 297 | | || name.starts_with("rustc_demangle::") [INFO] [stdout] 298 | | || name.starts_with("__rust_") [INFO] [stdout] | |______________________________________^ help: try: `name.starts_with("alloc::") || name.starts_with("core::") || name.starts_with("std::") || name.starts_with("std_unicode::") || name.starts_with("rustc_demangle::") || name.starts_with("__rust_")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] 294 | | || name.starts_with("core::") [INFO] [stdout] 295 | | || name.starts_with("std::") [INFO] [stdout] 296 | | || name.starts_with("std_unicode::") [INFO] [stdout] 297 | | || name.starts_with("rustc_demangle::") [INFO] [stdout] | |_______________________________________________^ help: try: `name.starts_with("alloc::") || name.starts_with("core::") || name.starts_with("std::") || name.starts_with("std_unicode::") || name.starts_with("rustc_demangle::")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] 294 | | || name.starts_with("core::") [INFO] [stdout] 295 | | || name.starts_with("std::") [INFO] [stdout] 296 | | || name.starts_with("std_unicode::") [INFO] [stdout] | |____________________________________________^ help: try: `name.starts_with("alloc::") || name.starts_with("core::") || name.starts_with("std::") || name.starts_with("std_unicode::")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] 294 | | || name.starts_with("core::") [INFO] [stdout] 295 | | || name.starts_with("std::") [INFO] [stdout] | |____________________________________^ help: try: `name.starts_with("alloc::") || name.starts_with("core::") || name.starts_with("std::")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] 294 | | || name.starts_with("core::") [INFO] [stdout] | |_____________________________________^ help: try: `name.starts_with("alloc::") || name.starts_with("core::")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / false [INFO] [stdout] 293 | | || name.starts_with("alloc::") [INFO] [stdout] | |______________________________________^ help: try: `name.starts_with("alloc::")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] 312 | | || name == "core::fmt::write" [INFO] [stdout] 313 | | || name == "std::io::Write::write_all" [INFO] [stdout] 314 | | || name == "core::ptr::real_drop_in_place" [INFO] [stdout] 315 | | || name == "alloc::raw_vec::capacity_overflow" [INFO] [stdout] 316 | | || name == "std::rt::lang_start_internal" [INFO] [stdout] | |_________________________________________________^ help: try: `name == "alloc::fmt::format" || name == "core::fmt::write" || name == "std::io::Write::write_all" || name == "core::ptr::real_drop_in_place" || name == "alloc::raw_vec::capacity_overflow" || name == "std::rt::lang_start_internal"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] 312 | | || name == "core::fmt::write" [INFO] [stdout] 313 | | || name == "std::io::Write::write_all" [INFO] [stdout] 314 | | || name == "core::ptr::real_drop_in_place" [INFO] [stdout] 315 | | || name == "alloc::raw_vec::capacity_overflow" [INFO] [stdout] | |______________________________________________________^ help: try: `name == "alloc::fmt::format" || name == "core::fmt::write" || name == "std::io::Write::write_all" || name == "core::ptr::real_drop_in_place" || name == "alloc::raw_vec::capacity_overflow"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] 312 | | || name == "core::fmt::write" [INFO] [stdout] 313 | | || name == "std::io::Write::write_all" [INFO] [stdout] 314 | | || name == "core::ptr::real_drop_in_place" [INFO] [stdout] | |__________________________________________________^ help: try: `name == "alloc::fmt::format" || name == "core::fmt::write" || name == "std::io::Write::write_all" || name == "core::ptr::real_drop_in_place"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] 312 | | || name == "core::fmt::write" [INFO] [stdout] 313 | | || name == "std::io::Write::write_all" [INFO] [stdout] | |______________________________________________^ help: try: `name == "alloc::fmt::format" || name == "core::fmt::write" || name == "std::io::Write::write_all"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] 312 | | || name == "core::fmt::write" [INFO] [stdout] | |_____________________________________^ help: try: `name == "alloc::fmt::format" || name == "core::fmt::write"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | std && (false [INFO] [stdout] | _____________^ [INFO] [stdout] 311 | | || name == "alloc::fmt::format" [INFO] [stdout] | |_______________________________________^ help: try: `name == "alloc::fmt::format"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:385:34 [INFO] [stdout] | [INFO] [stdout] 385 | ... .cmp(&from) [INFO] [stdout] | ^^^^^ help: change this to: `from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(String::as_str)` on an `Option` value [INFO] [stdout] --> src/main.rs:395:18 [INFO] [stdout] | [INFO] [stdout] 395 | to = frame.function.as_ref().map(String::as_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `frame.function.as_deref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref [INFO] [stdout] = note: `#[warn(clippy::option_as_ref_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 25 | enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 25 | enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Debug, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_WhiteListFrame` [INFO] [stdout] 331 | struct WhiteListFrame { [INFO] [stdout] | -------------- `WhiteListFrame` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:330:32 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Debug, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_WhiteListFrame` [INFO] [stdout] 331 | struct WhiteListFrame { [INFO] [stdout] | -------------- `WhiteListFrame` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | #[derive(Debug, Default, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 369 | struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:368:37 [INFO] [stdout] | [INFO] [stdout] 368 | #[derive(Debug, Default, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 369 | struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.36s [INFO] running `Command { std: "docker" "inspect" "8903b5307e3870da9ac0eeb86d151d8caff2c24ecc17f659f541507f5aa2ebe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8903b5307e3870da9ac0eeb86d151d8caff2c24ecc17f659f541507f5aa2ebe0", kill_on_drop: false }` [INFO] [stdout] 8903b5307e3870da9ac0eeb86d151d8caff2c24ecc17f659f541507f5aa2ebe0