[INFO] fetching crate wdc 0.1.0-beta8... [INFO] linting wdc-0.1.0-beta8 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate wdc 0.1.0-beta8 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate wdc 0.1.0-beta8 [INFO] finished tweaking crates.io crate wdc 0.1.0-beta8 [INFO] tweaked toml for crates.io crate wdc 0.1.0-beta8 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wdc 0.1.0-beta8 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9a684193b9393d6fcc45b5dbade5b13bff7f455487fff75c80ff269756bbd2ca [INFO] running `Command { std: "docker" "start" "-a" "9a684193b9393d6fcc45b5dbade5b13bff7f455487fff75c80ff269756bbd2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a684193b9393d6fcc45b5dbade5b13bff7f455487fff75c80ff269756bbd2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a684193b9393d6fcc45b5dbade5b13bff7f455487fff75c80ff269756bbd2ca", kill_on_drop: false }` [INFO] [stdout] 9a684193b9393d6fcc45b5dbade5b13bff7f455487fff75c80ff269756bbd2ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] bc4ac7e1707fd3de54012f78ab6b241e0f9fc05b1b508344af7b0ac8a186fd9f [INFO] running `Command { std: "docker" "start" "-a" "bc4ac7e1707fd3de54012f78ab6b241e0f9fc05b1b508344af7b0ac8a186fd9f", kill_on_drop: false }` [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking wdc v0.1.0-beta8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg` [INFO] [stdout] --> src/wdcmd/session/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to 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: `doc_cfg` [INFO] [stdout] --> src/wdcmd/session/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to 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: `doc_cfg` [INFO] [stdout] --> src/geckodrv.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to 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: `doc_cfg` [INFO] [stdout] --> src/geckodrv.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to 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: `doc_cfg` [INFO] [stdout] --> src/lib.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to 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: `doc_cfg` [INFO] [stdout] --> src/lib.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:255:23 [INFO] [stdout] | [INFO] [stdout] 255 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:273:31 [INFO] [stdout] | [INFO] [stdout] 273 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:298:31 [INFO] [stdout] | [INFO] [stdout] 298 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg` [INFO] [stdout] --> src/wdcmd/session/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to 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: `doc_cfg` [INFO] [stdout] --> src/wdcmd/session/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to 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: `doc_cfg` [INFO] [stdout] --> src/geckodrv.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to 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: `doc_cfg` [INFO] [stdout] --> src/geckodrv.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to 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: `doc_cfg` [INFO] [stdout] --> src/lib.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to 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: `doc_cfg` [INFO] [stdout] --> src/lib.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(doc_cfg, doc(cfg(feature = "firefox")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:255:23 [INFO] [stdout] | [INFO] [stdout] 255 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:273:31 [INFO] [stdout] | [INFO] [stdout] 273 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:298:31 [INFO] [stdout] | [INFO] [stdout] 298 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | #[cfg(not(feature = "err_strace"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `err_strace` [INFO] [stdout] --> src/wdcmd/err.rs:373:15 [INFO] [stdout] | [INFO] [stdout] 373 | #[cfg(feature = "err_strace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bidi`, `chromium`, `default`, `dev`, `diag`, and `firefox` [INFO] [stdout] = help: consider adding `err_strace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/err.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 - Reserved(String), [INFO] [stdout] 63 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/err.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 192 - Reserved(String), [INFO] [stdout] 192 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/session/gec.rs:578:18 [INFO] [stdout] | [INFO] [stdout] 578 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 578 - Reserved(String), [INFO] [stdout] 578 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/session/comm.rs:626:18 [INFO] [stdout] | [INFO] [stdout] 626 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 626 - Reserved(String), [INFO] [stdout] 626 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/session/comm.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 801 - Reserved(String), [INFO] [stdout] 801 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/session/comm.rs:922:18 [INFO] [stdout] | [INFO] [stdout] 922 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 922 - Reserved(String), [INFO] [stdout] 922 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | //! BiDi standards. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 30 | //! BiDi standards. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/gec.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | / &self [INFO] [stdout] 440 | | .value [INFO] [stdout] 441 | | .capabilities [INFO] [stdout] 442 | | .browser_name [INFO] [stdout] 443 | | .as_ref() [INFO] [stdout] 444 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [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] help: change this to [INFO] [stdout] | [INFO] [stdout] 439 ~ self [INFO] [stdout] 440 + .value [INFO] [stdout] 441 + .capabilities [INFO] [stdout] 442 + .browser_name [INFO] [stdout] 443 + .as_ref() [INFO] [stdout] 444 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/gec.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | / &self [INFO] [stdout] 450 | | .value [INFO] [stdout] 451 | | .capabilities [INFO] [stdout] 452 | | .browser_version [INFO] [stdout] 453 | | .as_ref() [INFO] [stdout] 454 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 449 ~ self [INFO] [stdout] 450 + .value [INFO] [stdout] 451 + .capabilities [INFO] [stdout] 452 + .browser_version [INFO] [stdout] 453 + .as_ref() [INFO] [stdout] 454 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/gec.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | / &self [INFO] [stdout] 460 | | .value [INFO] [stdout] 461 | | .capabilities [INFO] [stdout] 462 | | .platform_name [INFO] [stdout] 463 | | .as_ref() [INFO] [stdout] 464 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 459 ~ self [INFO] [stdout] 460 + .value [INFO] [stdout] 461 + .capabilities [INFO] [stdout] 462 + .platform_name [INFO] [stdout] 463 + .as_ref() [INFO] [stdout] 464 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/chr.rs:881:9 [INFO] [stdout] | [INFO] [stdout] 881 | / &self [INFO] [stdout] 882 | | .value [INFO] [stdout] 883 | | .capabilities [INFO] [stdout] 884 | | .browser_name [INFO] [stdout] 885 | | .as_ref() [INFO] [stdout] 886 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 881 ~ self [INFO] [stdout] 882 + .value [INFO] [stdout] 883 + .capabilities [INFO] [stdout] 884 + .browser_name [INFO] [stdout] 885 + .as_ref() [INFO] [stdout] 886 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/chr.rs:891:9 [INFO] [stdout] | [INFO] [stdout] 891 | / &self [INFO] [stdout] 892 | | .value [INFO] [stdout] 893 | | .capabilities [INFO] [stdout] 894 | | .browser_version [INFO] [stdout] 895 | | .as_ref() [INFO] [stdout] 896 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 891 ~ self [INFO] [stdout] 892 + .value [INFO] [stdout] 893 + .capabilities [INFO] [stdout] 894 + .browser_version [INFO] [stdout] 895 + .as_ref() [INFO] [stdout] 896 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/chr.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 901 | / &self [INFO] [stdout] 902 | | .value [INFO] [stdout] 903 | | .capabilities [INFO] [stdout] 904 | | .platform_name [INFO] [stdout] 905 | | .as_ref() [INFO] [stdout] 906 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 901 ~ self [INFO] [stdout] 902 + .value [INFO] [stdout] 903 + .capabilities [INFO] [stdout] 904 + .platform_name [INFO] [stdout] 905 + .as_ref() [INFO] [stdout] 906 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `pbody_path` after checking its variant with `is_none` [INFO] [stdout] --> src/httpp.rs:1119:38 [INFO] [stdout] | [INFO] [stdout] 1092 | if pbody_path.is_none() { [INFO] [stdout] | ----------------------- help: try: `if let Some() = pbody_path` [INFO] [stdout] ... [INFO] [stdout] 1119 | let pbody_path = pbody_path.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/httpp.rs:1105:44 [INFO] [stdout] | [INFO] [stdout] 1105 | let mut big_rbuf = Vec::::with_capacity(msgbody_len); [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 1106 | | big_rbuf.resize(msgbody_len, 0); [INFO] [stdout] | |_______________________________________________________^ help: consider replacing this with: `vec![0; msgbody_len]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] = note: `#[warn(clippy::slow_vector_initialization)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(|x| x.as_str())` on an `Option` value [INFO] [stdout] --> src/genericdrv.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | self.browser_name.as_ref().map(|x| x.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.browser_name.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: called `.as_ref().map(|x| x.as_str())` on an `Option` value [INFO] [stdout] --> src/genericdrv.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | self.browser_version.as_ref().map(|x| x.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.browser_version.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] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(|x| x.as_str())` on an `Option` value [INFO] [stdout] --> src/genericdrv.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | self.platform_name.as_ref().map(|x| x.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.platform_name.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] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(|x| x.as_str())` on an `Option` value [INFO] [stdout] --> src/genericdrv.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | self.browser_profile.as_ref().map(|x| x.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.browser_profile.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] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `rdy_err` after checking its variant with `is_some` [INFO] [stdout] --> src/geckodrv.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 126 | if rdy_err.is_some() { [INFO] [stdout] | -------------------- help: try: `if let Some() = rdy_err` [INFO] [stdout] 127 | let rdy_err = rdy_err.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/webdrv_cmd.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | let mut capa = FirefoxCapa::default(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> tests/webdrv_cmd.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(eleids.len() > 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!eleids.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> tests/webdrv_cmd.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: try [INFO] [stdout] | [INFO] [stdout] 72 - if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] 72 + if !(*ele != b'}' && *ele != b'"') { [INFO] [stdout] | [INFO] [stdout] 72 - if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] 72 + if *ele == b'}' || *ele == b'"' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> tests/webdrv_cmd.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `*ele == b'}'` [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: the borrowed expression implements the required traits [INFO] [stdout] --> tests/webdrv_cmd.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | .open(&pbody_file(PBODY_FILENAME_PREFIX, "sshot")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `pbody_file(PBODY_FILENAME_PREFIX, "sshot")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> tests/webdrv_cmd.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | ... assert!(false, "invalid base64 data"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] = note: `#[warn(clippy::assertions_on_constants)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> tests/webdrv_cmd.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 99 - if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] 99 + if !(*ele != b'}' && *ele != b'"') { [INFO] [stdout] | [INFO] [stdout] 99 - if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] 99 + if *ele == b'}' || *ele == b'"' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> tests/webdrv_cmd.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `*ele == b'}'` [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: the borrowed expression implements the required traits [INFO] [stdout] --> tests/webdrv_cmd.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | .open(&pbody_file(PBODY_FILENAME_PREFIX, "sshot-elem")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `pbody_file(PBODY_FILENAME_PREFIX, "sshot-elem")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> tests/webdrv_cmd.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | ... assert!(false, "invalid base64 data"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> tests/webdrv_cmd.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 124 - if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] 124 + if !(*ele != b'}' && *ele != b'"') { [INFO] [stdout] | [INFO] [stdout] 124 - if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] 124 + if *ele == b'}' || *ele == b'"' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> tests/webdrv_cmd.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | if *ele == b'}' || *ele == b'}' || *ele == b'"' { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `*ele == b'}'` [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: the borrowed expression implements the required traits [INFO] [stdout] --> tests/webdrv_cmd.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | .open(&pbody_file(PBODY_FILENAME_PREFIX, "ppdf")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `pbody_file(PBODY_FILENAME_PREFIX, "ppdf")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> tests/webdrv_cmd.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | ... assert!(false, "invalid base64 data"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/webdrv_cmd.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | std::fs::read_to_string(&pbody_file(PBODY_FILENAME_PREFIX, "pagesrc")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `pbody_file(PBODY_FILENAME_PREFIX, "pagesrc")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/webdrv_cmd.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | assert_eq!(eval_ret.is_ok(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_assert_comparison)]` on by default [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 183 - assert_eq!(eval_ret.is_ok(), false); [INFO] [stdout] 183 + assert!(!eval_ret.is_ok()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> tests/webdrv_cmd.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | assert!(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> tests/webdrv_cmd.rs:224:30 [INFO] [stdout] | [INFO] [stdout] 224 | Ok(_) => assert!(false), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `true` [INFO] [stdout] --> tests/webdrv_cmd.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | ... assert!(true); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the assertion [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> tests/webdrv_cmd.rs:231:29 [INFO] [stdout] | [INFO] [stdout] 231 | ... assert!(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/err.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 - Reserved(String), [INFO] [stdout] 63 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/err.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 192 - Reserved(String), [INFO] [stdout] 192 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/session/gec.rs:578:18 [INFO] [stdout] | [INFO] [stdout] 578 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 578 - Reserved(String), [INFO] [stdout] 578 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/session/comm.rs:626:18 [INFO] [stdout] | [INFO] [stdout] 626 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 626 - Reserved(String), [INFO] [stdout] 626 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/session/comm.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 801 - Reserved(String), [INFO] [stdout] 801 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wdcmd/session/comm.rs:922:18 [INFO] [stdout] | [INFO] [stdout] 922 | Reserved(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 922 - Reserved(String), [INFO] [stdout] 922 + Reserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | //! BiDi standards. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 30 | //! BiDi standards. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/err.rs:367:62 [INFO] [stdout] | [INFO] [stdout] 367 | let deobj = serde_json::from_slice::(&estr.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: change this to: `estr.as_bytes()` [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 expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/gec.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | / &self [INFO] [stdout] 440 | | .value [INFO] [stdout] 441 | | .capabilities [INFO] [stdout] 442 | | .browser_name [INFO] [stdout] 443 | | .as_ref() [INFO] [stdout] 444 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 439 ~ self [INFO] [stdout] 440 + .value [INFO] [stdout] 441 + .capabilities [INFO] [stdout] 442 + .browser_name [INFO] [stdout] 443 + .as_ref() [INFO] [stdout] 444 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/gec.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | / &self [INFO] [stdout] 450 | | .value [INFO] [stdout] 451 | | .capabilities [INFO] [stdout] 452 | | .browser_version [INFO] [stdout] 453 | | .as_ref() [INFO] [stdout] 454 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 449 ~ self [INFO] [stdout] 450 + .value [INFO] [stdout] 451 + .capabilities [INFO] [stdout] 452 + .browser_version [INFO] [stdout] 453 + .as_ref() [INFO] [stdout] 454 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/gec.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | / &self [INFO] [stdout] 460 | | .value [INFO] [stdout] 461 | | .capabilities [INFO] [stdout] 462 | | .platform_name [INFO] [stdout] 463 | | .as_ref() [INFO] [stdout] 464 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 459 ~ self [INFO] [stdout] 460 + .value [INFO] [stdout] 461 + .capabilities [INFO] [stdout] 462 + .platform_name [INFO] [stdout] 463 + .as_ref() [INFO] [stdout] 464 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1006:13 [INFO] [stdout] | [INFO] [stdout] 1006 | assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_assert_comparison)]` on by default [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1006 - assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1006 + assert!(requ.always_match.browser_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1007:13 [INFO] [stdout] | [INFO] [stdout] 1007 | assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1007 - assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] 1007 + assert!(requ.always_match.platform_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1008:13 [INFO] [stdout] | [INFO] [stdout] 1008 | assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1008 - assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] 1008 + assert!(requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/wdcmd/session/gec.rs:1017:13 [INFO] [stdout] | [INFO] [stdout] 1017 | / match std::net::TcpStream::connect("") { [INFO] [stdout] 1018 | | Ok(_) => { [INFO] [stdout] 1019 | | let mut requ = GeckoCapRequ::default(); [INFO] [stdout] ... | [INFO] [stdout] 1031 | | _ => {} [INFO] [stdout] 1032 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 1017 ~ if let Ok(_) = std::net::TcpStream::connect("") { [INFO] [stdout] 1018 + let mut requ = GeckoCapRequ::default(); [INFO] [stdout] 1019 + { [INFO] [stdout] 1020 + let capa = FirefoxCapa::default(); [INFO] [stdout] 1021 + [INFO] [stdout] 1022 + requ.allow_as_w3c(&capa); [INFO] [stdout] 1023 + [INFO] [stdout] 1024 + assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1025 + assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] 1026 + assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] 1027 + assert_eq!(requ.first_match.len(), 1); [INFO] [stdout] 1028 + } [INFO] [stdout] 1029 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1025:25 [INFO] [stdout] | [INFO] [stdout] 1025 | assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1025 - assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1025 + assert!(requ.always_match.browser_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1026:25 [INFO] [stdout] | [INFO] [stdout] 1026 | assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1026 - assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] 1026 + assert!(requ.always_match.platform_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1027:25 [INFO] [stdout] | [INFO] [stdout] 1027 | assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1027 - assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] 1027 + assert!(requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1043:13 [INFO] [stdout] | [INFO] [stdout] 1043 | assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1043 - assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1043 + assert!(requ.always_match.browser_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1044:13 [INFO] [stdout] | [INFO] [stdout] 1044 | assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1044 - assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] 1044 + assert!(requ.always_match.platform_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1045:13 [INFO] [stdout] | [INFO] [stdout] 1045 | assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1045 - assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] 1045 + assert!(requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1058:13 [INFO] [stdout] | [INFO] [stdout] 1058 | assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1058 - assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1058 + assert!(requ.always_match.browser_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1059:13 [INFO] [stdout] | [INFO] [stdout] 1059 | assert_eq!(requ.always_match.platform_name().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1059 - assert_eq!(requ.always_match.platform_name().is_some(), true); [INFO] [stdout] 1059 + assert!(requ.always_match.platform_name().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1061:13 [INFO] [stdout] | [INFO] [stdout] 1061 | assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1061 - assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] 1061 + assert!(!requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1074:13 [INFO] [stdout] | [INFO] [stdout] 1074 | assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1074 - assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] 1074 + assert!(requ.always_match.platform_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/gec.rs:1077:17 [INFO] [stdout] | [INFO] [stdout] 1077 | requ.first_match.get(0).unwrap().platform_name().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] = note: `#[warn(clippy::get_first)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/gec.rs:1096:17 [INFO] [stdout] | [INFO] [stdout] 1096 | requ.first_match.get(0).unwrap().platform_name().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1125:13 [INFO] [stdout] | [INFO] [stdout] 1125 | assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1125 - assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] 1125 + assert!(requ.always_match.browser_name().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/gec.rs:1129:17 [INFO] [stdout] | [INFO] [stdout] 1129 | requ.first_match.get(0).unwrap().platform_name().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1154:13 [INFO] [stdout] | [INFO] [stdout] 1154 | assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1154 - assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] 1154 + assert!(requ.always_match.browser_name().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1174:13 [INFO] [stdout] | [INFO] [stdout] 1174 | assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1174 - assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1174 + assert!(requ.always_match.browser_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1181:13 [INFO] [stdout] | [INFO] [stdout] 1181 | assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1181 - assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] 1181 + assert!(requ.always_match.browser_name().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1194:13 [INFO] [stdout] | [INFO] [stdout] 1194 | assert_eq!(requ.always_match.timeouts_script().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1194 - assert_eq!(requ.always_match.timeouts_script().is_some(), true); [INFO] [stdout] 1194 + assert!(requ.always_match.timeouts_script().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1195:13 [INFO] [stdout] | [INFO] [stdout] 1195 | assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1195 - assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] 1195 + assert!(!requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1210:13 [INFO] [stdout] | [INFO] [stdout] 1210 | assert_eq!(requ.always_match.proxy_type().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1210 - assert_eq!(requ.always_match.proxy_type().is_some(), true); [INFO] [stdout] 1210 + assert!(requ.always_match.proxy_type().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1211:13 [INFO] [stdout] | [INFO] [stdout] 1211 | assert_eq!(requ.always_match.socks_version().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1211 - assert_eq!(requ.always_match.socks_version().is_some(), true); [INFO] [stdout] 1211 + assert!(requ.always_match.socks_version().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1212:13 [INFO] [stdout] | [INFO] [stdout] 1212 | assert_eq!(requ.always_match.socks_proxy().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1212 - assert_eq!(requ.always_match.socks_proxy().is_some(), true); [INFO] [stdout] 1212 + assert!(requ.always_match.socks_proxy().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1213:13 [INFO] [stdout] | [INFO] [stdout] 1213 | assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1213 - assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] 1213 + assert!(!requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1229:13 [INFO] [stdout] | [INFO] [stdout] 1229 | assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1229 - assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] 1229 + assert!(requ.always_match.binary().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1230:13 [INFO] [stdout] | [INFO] [stdout] 1230 | assert_eq!(requ.always_match.is_insig(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1230 - assert_eq!(requ.always_match.is_insig(), true); [INFO] [stdout] 1230 + assert!(requ.always_match.is_insig()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statement with no effect [INFO] [stdout] --> src/wdcmd/session/gec.rs:1248:13 [INFO] [stdout] | [INFO] [stdout] 1248 | (); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect [INFO] [stdout] = note: `#[warn(clippy::no_effect)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1266:13 [INFO] [stdout] | [INFO] [stdout] 1266 | assert_eq!(requ.always_match.binary().is_none(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1266 - assert_eq!(requ.always_match.binary().is_none(), false); [INFO] [stdout] 1266 + assert!(!requ.always_match.binary().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1268:13 [INFO] [stdout] | [INFO] [stdout] 1268 | assert_eq!(requ.always_match.is_insig(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1268 - assert_eq!(requ.always_match.is_insig(), false); [INFO] [stdout] 1268 + assert!(!requ.always_match.is_insig()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1287:13 [INFO] [stdout] | [INFO] [stdout] 1287 | assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1287 - assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] 1287 + assert!(requ.always_match.binary().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/gec.rs:1290:17 [INFO] [stdout] | [INFO] [stdout] 1290 | requ.first_match.get(0).unwrap().binary().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/gec.rs:1294:17 [INFO] [stdout] | [INFO] [stdout] 1294 | requ.first_match.get(0).unwrap().args().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1323:13 [INFO] [stdout] | [INFO] [stdout] 1323 | assert_eq!(requ.always_match.args().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1323 - assert_eq!(requ.always_match.args().is_some(), true); [INFO] [stdout] 1323 + assert!(requ.always_match.args().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.always_match.args().unwrap().get(0)` [INFO] [stdout] --> src/wdcmd/session/gec.rs:1326:17 [INFO] [stdout] | [INFO] [stdout] 1326 | requ.always_match.args().unwrap().get(0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.always_match.args().unwrap().first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/gec.rs:1335:17 [INFO] [stdout] | [INFO] [stdout] 1335 | requ.first_match.get(0).unwrap().binary().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1358:13 [INFO] [stdout] | [INFO] [stdout] 1358 | assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1358 - assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] 1358 + assert!(requ.always_match.binary().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1365:13 [INFO] [stdout] | [INFO] [stdout] 1365 | assert_eq!(requ.always_match.binary().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1365 - assert_eq!(requ.always_match.binary().is_some(), true); [INFO] [stdout] 1365 + assert!(requ.always_match.binary().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1382:13 [INFO] [stdout] | [INFO] [stdout] 1382 | assert_eq!(requ.always_match.binary().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1382 - assert_eq!(requ.always_match.binary().is_some(), true); [INFO] [stdout] 1382 + assert!(requ.always_match.binary().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1383:13 [INFO] [stdout] | [INFO] [stdout] 1383 | assert_eq!(requ.always_match.prefs().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1383 - assert_eq!(requ.always_match.prefs().is_some(), true); [INFO] [stdout] 1383 + assert!(requ.always_match.prefs().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1409:13 [INFO] [stdout] | [INFO] [stdout] 1409 | assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1409 - assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] 1409 + assert!(!requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1411:13 [INFO] [stdout] | [INFO] [stdout] 1411 | assert_eq!(requ.always_match.is_insig(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1411 - assert_eq!(requ.always_match.is_insig(), true); [INFO] [stdout] 1411 + assert!(requ.always_match.is_insig()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1413:13 [INFO] [stdout] | [INFO] [stdout] 1413 | assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1413 - assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] 1413 + assert!(requ.always_match.binary().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1431:13 [INFO] [stdout] | [INFO] [stdout] 1431 | assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1431 - assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] 1431 + assert!(!requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1433:13 [INFO] [stdout] | [INFO] [stdout] 1433 | assert_eq!(requ.always_match.is_insig(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1433 - assert_eq!(requ.always_match.is_insig(), false); [INFO] [stdout] 1433 + assert!(!requ.always_match.is_insig()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1435:13 [INFO] [stdout] | [INFO] [stdout] 1435 | assert_eq!(requ.always_match.binary().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1435 - assert_eq!(requ.always_match.binary().is_some(), true); [INFO] [stdout] 1435 + assert!(requ.always_match.binary().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/gec.rs:1457:13 [INFO] [stdout] | [INFO] [stdout] 1457 | assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1457 - assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] 1457 + assert!(requ.always_match.browser_name().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/gec.rs:1461:17 [INFO] [stdout] | [INFO] [stdout] 1461 | requ.first_match.get(0).unwrap().platform_name().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/gec.rs:1465:17 [INFO] [stdout] | [INFO] [stdout] 1465 | requ.first_match.get(0).unwrap().args().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/gec.rs:1473:17 [INFO] [stdout] | [INFO] [stdout] 1473 | requ.first_match.get(0).unwrap().args().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/chr.rs:881:9 [INFO] [stdout] | [INFO] [stdout] 881 | / &self [INFO] [stdout] 882 | | .value [INFO] [stdout] 883 | | .capabilities [INFO] [stdout] 884 | | .browser_name [INFO] [stdout] 885 | | .as_ref() [INFO] [stdout] 886 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 881 ~ self [INFO] [stdout] 882 + .value [INFO] [stdout] 883 + .capabilities [INFO] [stdout] 884 + .browser_name [INFO] [stdout] 885 + .as_ref() [INFO] [stdout] 886 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/chr.rs:891:9 [INFO] [stdout] | [INFO] [stdout] 891 | / &self [INFO] [stdout] 892 | | .value [INFO] [stdout] 893 | | .capabilities [INFO] [stdout] 894 | | .browser_version [INFO] [stdout] 895 | | .as_ref() [INFO] [stdout] 896 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 891 ~ self [INFO] [stdout] 892 + .value [INFO] [stdout] 893 + .capabilities [INFO] [stdout] 894 + .browser_version [INFO] [stdout] 895 + .as_ref() [INFO] [stdout] 896 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/wdcmd/session/chr.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 901 | / &self [INFO] [stdout] 902 | | .value [INFO] [stdout] 903 | | .capabilities [INFO] [stdout] 904 | | .platform_name [INFO] [stdout] 905 | | .as_ref() [INFO] [stdout] 906 | | .expect("buggy") [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 901 ~ self [INFO] [stdout] 902 + .value [INFO] [stdout] 903 + .capabilities [INFO] [stdout] 904 + .platform_name [INFO] [stdout] 905 + .as_ref() [INFO] [stdout] 906 + .expect("buggy") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1717:13 [INFO] [stdout] | [INFO] [stdout] 1717 | assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1717 - assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1717 + assert!(requ.always_match.browser_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1718:13 [INFO] [stdout] | [INFO] [stdout] 1718 | assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1718 - assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] 1718 + assert!(requ.always_match.platform_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1719:13 [INFO] [stdout] | [INFO] [stdout] 1719 | assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1719 - assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] 1719 + assert!(requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1733:13 [INFO] [stdout] | [INFO] [stdout] 1733 | assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1733 - assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1733 + assert!(requ.always_match.browser_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1734:13 [INFO] [stdout] | [INFO] [stdout] 1734 | assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1734 - assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] 1734 + assert!(requ.always_match.platform_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1735:13 [INFO] [stdout] | [INFO] [stdout] 1735 | assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1735 - assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] 1735 + assert!(requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1753:13 [INFO] [stdout] | [INFO] [stdout] 1753 | assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1753 - assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1753 + assert!(requ.always_match.browser_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1754:13 [INFO] [stdout] | [INFO] [stdout] 1754 | assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1754 - assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] 1754 + assert!(requ.always_match.platform_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1755:13 [INFO] [stdout] | [INFO] [stdout] 1755 | assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1755 - assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] 1755 + assert!(requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1767:13 [INFO] [stdout] | [INFO] [stdout] 1767 | assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1767 - assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1767 + assert!(requ.always_match.browser_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1768:13 [INFO] [stdout] | [INFO] [stdout] 1768 | assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1768 - assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] 1768 + assert!(requ.always_match.platform_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1769:13 [INFO] [stdout] | [INFO] [stdout] 1769 | assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1769 - assert_eq!(requ.always_match.is_insig_as_w3c(), true); [INFO] [stdout] 1769 + assert!(requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1782:13 [INFO] [stdout] | [INFO] [stdout] 1782 | assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1782 - assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1782 + assert!(requ.always_match.browser_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1783:13 [INFO] [stdout] | [INFO] [stdout] 1783 | assert_eq!(requ.always_match.platform_name().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1783 - assert_eq!(requ.always_match.platform_name().is_some(), true); [INFO] [stdout] 1783 + assert!(requ.always_match.platform_name().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1785:13 [INFO] [stdout] | [INFO] [stdout] 1785 | assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1785 - assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] 1785 + assert!(!requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1798:13 [INFO] [stdout] | [INFO] [stdout] 1798 | assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1798 - assert_eq!(requ.always_match.platform_name().is_none(), true); [INFO] [stdout] 1798 + assert!(requ.always_match.platform_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/chr.rs:1801:17 [INFO] [stdout] | [INFO] [stdout] 1801 | requ.first_match.get(0).unwrap().platform_name().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/chr.rs:1821:17 [INFO] [stdout] | [INFO] [stdout] 1821 | requ.first_match.get(0).unwrap().platform_name().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1850:13 [INFO] [stdout] | [INFO] [stdout] 1850 | assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1850 - assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] 1850 + assert!(requ.always_match.browser_name().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/chr.rs:1854:17 [INFO] [stdout] | [INFO] [stdout] 1854 | requ.first_match.get(0).unwrap().platform_name().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1879:13 [INFO] [stdout] | [INFO] [stdout] 1879 | assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1879 - assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] 1879 + assert!(requ.always_match.browser_name().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1899:13 [INFO] [stdout] | [INFO] [stdout] 1899 | assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1899 - assert_eq!(requ.always_match.browser_name().is_none(), true); [INFO] [stdout] 1899 + assert!(requ.always_match.browser_name().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1906:13 [INFO] [stdout] | [INFO] [stdout] 1906 | assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1906 - assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] 1906 + assert!(requ.always_match.browser_name().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1923:13 [INFO] [stdout] | [INFO] [stdout] 1923 | assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1923 - assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] 1923 + assert!(requ.always_match.binary().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1924:13 [INFO] [stdout] | [INFO] [stdout] 1924 | assert_eq!(requ.always_match.is_insig(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1924 - assert_eq!(requ.always_match.is_insig(), true); [INFO] [stdout] 1924 + assert!(requ.always_match.is_insig()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1959:13 [INFO] [stdout] | [INFO] [stdout] 1959 | assert_eq!(requ.always_match.binary().is_none(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1959 - assert_eq!(requ.always_match.binary().is_none(), false); [INFO] [stdout] 1959 + assert!(!requ.always_match.binary().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1961:13 [INFO] [stdout] | [INFO] [stdout] 1961 | assert_eq!(requ.always_match.is_insig(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1961 - assert_eq!(requ.always_match.is_insig(), false); [INFO] [stdout] 1961 + assert!(!requ.always_match.is_insig()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:1980:13 [INFO] [stdout] | [INFO] [stdout] 1980 | assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1980 - assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] 1980 + assert!(requ.always_match.binary().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/chr.rs:1983:17 [INFO] [stdout] | [INFO] [stdout] 1983 | requ.first_match.get(0).unwrap().binary().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/chr.rs:1987:17 [INFO] [stdout] | [INFO] [stdout] 1987 | requ.first_match.get(0).unwrap().args().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:2016:13 [INFO] [stdout] | [INFO] [stdout] 2016 | assert_eq!(requ.always_match.args().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 2016 - assert_eq!(requ.always_match.args().is_some(), true); [INFO] [stdout] 2016 + assert!(requ.always_match.args().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.always_match.args().unwrap().get(0)` [INFO] [stdout] --> src/wdcmd/session/chr.rs:2019:17 [INFO] [stdout] | [INFO] [stdout] 2019 | requ.always_match.args().unwrap().get(0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.always_match.args().unwrap().first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/chr.rs:2028:17 [INFO] [stdout] | [INFO] [stdout] 2028 | requ.first_match.get(0).unwrap().binary().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:2051:13 [INFO] [stdout] | [INFO] [stdout] 2051 | assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 2051 - assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] 2051 + assert!(requ.always_match.binary().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:2058:13 [INFO] [stdout] | [INFO] [stdout] 2058 | assert_eq!(requ.always_match.binary().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 2058 - assert_eq!(requ.always_match.binary().is_some(), true); [INFO] [stdout] 2058 + assert!(requ.always_match.binary().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:2083:13 [INFO] [stdout] | [INFO] [stdout] 2083 | assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 2083 - assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] 2083 + assert!(!requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:2085:13 [INFO] [stdout] | [INFO] [stdout] 2085 | assert_eq!(requ.always_match.is_insig(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 2085 - assert_eq!(requ.always_match.is_insig(), true); [INFO] [stdout] 2085 + assert!(requ.always_match.is_insig()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:2087:13 [INFO] [stdout] | [INFO] [stdout] 2087 | assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 2087 - assert_eq!(requ.always_match.binary().is_none(), true); [INFO] [stdout] 2087 + assert!(requ.always_match.binary().is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:2105:13 [INFO] [stdout] | [INFO] [stdout] 2105 | assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 2105 - assert_eq!(requ.always_match.is_insig_as_w3c(), false); [INFO] [stdout] 2105 + assert!(!requ.always_match.is_insig_as_w3c()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:2107:13 [INFO] [stdout] | [INFO] [stdout] 2107 | assert_eq!(requ.always_match.is_insig(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 2107 - assert_eq!(requ.always_match.is_insig(), false); [INFO] [stdout] 2107 + assert!(!requ.always_match.is_insig()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:2109:13 [INFO] [stdout] | [INFO] [stdout] 2109 | assert_eq!(requ.always_match.binary().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 2109 - assert_eq!(requ.always_match.binary().is_some(), true); [INFO] [stdout] 2109 + assert!(requ.always_match.binary().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/wdcmd/session/chr.rs:2131:13 [INFO] [stdout] | [INFO] [stdout] 2131 | assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 2131 - assert_eq!(requ.always_match.browser_name().is_some(), true); [INFO] [stdout] 2131 + assert!(requ.always_match.browser_name().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/chr.rs:2135:17 [INFO] [stdout] | [INFO] [stdout] 2135 | requ.first_match.get(0).unwrap().platform_name().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/chr.rs:2139:17 [INFO] [stdout] | [INFO] [stdout] 2139 | requ.first_match.get(0).unwrap().args().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `requ.first_match.get(0)` [INFO] [stdout] --> src/wdcmd/session/chr.rs:2147:17 [INFO] [stdout] | [INFO] [stdout] 2147 | requ.first_match.get(0).unwrap().args().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requ.first_match.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/wdcmd/actions.rs:629:13 [INFO] [stdout] | [INFO] [stdout] 629 | assert!(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] = note: `#[warn(clippy::assertions_on_constants)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `pbody_path` after checking its variant with `is_none` [INFO] [stdout] --> src/httpp.rs:1119:38 [INFO] [stdout] | [INFO] [stdout] 1092 | if pbody_path.is_none() { [INFO] [stdout] | ----------------------- help: try: `if let Some() = pbody_path` [INFO] [stdout] ... [INFO] [stdout] 1119 | let pbody_path = pbody_path.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/httpp.rs:1105:44 [INFO] [stdout] | [INFO] [stdout] 1105 | let mut big_rbuf = Vec::::with_capacity(msgbody_len); [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 1106 | | big_rbuf.resize(msgbody_len, 0); [INFO] [stdout] | |_______________________________________________________^ help: consider replacing this with: `vec![0; msgbody_len]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] = note: `#[warn(clippy::slow_vector_initialization)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/httpp.rs:1353:17 [INFO] [stdout] | [INFO] [stdout] 1353 | assert!(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/httpp.rs:1419:17 [INFO] [stdout] | [INFO] [stdout] 1419 | assert!(false, "{:?}", err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `.write(true)` because there is `.append(true)` [INFO] [stdout] --> src/httpp.rs:1469:17 [INFO] [stdout] | [INFO] [stdout] 1469 | .write(true) [INFO] [stdout] | ^^^^^^^^^^^^ help: remove `.write(true)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ineffective_open_options [INFO] [stdout] = note: `#[warn(clippy::ineffective_open_options)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `while let` loop [INFO] [stdout] --> src/httpp.rs:1491:13 [INFO] [stdout] | [INFO] [stdout] 1491 | / loop { [INFO] [stdout] 1492 | | match f.read(&mut read_buf) { [INFO] [stdout] 1493 | | Ok(nread) => { [INFO] [stdout] 1494 | | if nread > 0 { [INFO] [stdout] ... | [INFO] [stdout] 1506 | | } [INFO] [stdout] | |_____________^ help: try: `while let Ok(nread) = f.read(&mut read_buf) { .. }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop [INFO] [stdout] = note: `#[warn(clippy::while_let_loop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/httpp.rs:1553:17 [INFO] [stdout] | [INFO] [stdout] 1553 | assert_eq!(resp.msgbody_persist().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1553 - assert_eq!(resp.msgbody_persist().is_some(), true); [INFO] [stdout] 1553 + assert!(resp.msgbody_persist().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/httpp.rs:1573:17 [INFO] [stdout] | [INFO] [stdout] 1573 | assert!(false, "{:?}", err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `.write(true)` because there is `.append(true)` [INFO] [stdout] --> src/httpp.rs:1625:17 [INFO] [stdout] | [INFO] [stdout] 1625 | .write(true) [INFO] [stdout] | ^^^^^^^^^^^^ help: remove `.write(true)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ineffective_open_options [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `while let` loop [INFO] [stdout] --> src/httpp.rs:1647:13 [INFO] [stdout] | [INFO] [stdout] 1647 | / loop { [INFO] [stdout] 1648 | | match f.read(&mut read_buf) { [INFO] [stdout] 1649 | | Ok(nread) => { [INFO] [stdout] 1650 | | if nread > 0 { [INFO] [stdout] ... | [INFO] [stdout] 1662 | | } [INFO] [stdout] | |_____________^ help: try: `while let Ok(nread) = f.read(&mut read_buf) { .. }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/httpp.rs:1709:17 [INFO] [stdout] | [INFO] [stdout] 1709 | assert_eq!(resp.msgbody_persist().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1709 - assert_eq!(resp.msgbody_persist().is_some(), true); [INFO] [stdout] 1709 + assert!(resp.msgbody_persist().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/httpp.rs:1729:17 [INFO] [stdout] | [INFO] [stdout] 1729 | assert!(false, "{:?}", err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `.write(true)` because there is `.append(true)` [INFO] [stdout] --> src/httpp.rs:1785:17 [INFO] [stdout] | [INFO] [stdout] 1785 | .write(true) [INFO] [stdout] | ^^^^^^^^^^^^ help: remove `.write(true)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ineffective_open_options [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `while let` loop [INFO] [stdout] --> src/httpp.rs:1807:13 [INFO] [stdout] | [INFO] [stdout] 1807 | / loop { [INFO] [stdout] 1808 | | match f.read(&mut read_buf) { [INFO] [stdout] 1809 | | Ok(nread) => { [INFO] [stdout] 1810 | | if nread > 0 { [INFO] [stdout] ... | [INFO] [stdout] 1822 | | } [INFO] [stdout] | |_____________^ help: try: `while let Ok(nread) = f.read(&mut read_buf) { .. }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/httpp.rs:1866:17 [INFO] [stdout] | [INFO] [stdout] 1866 | assert_eq!(resp.msgbody_persist().is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1866 - assert_eq!(resp.msgbody_persist().is_some(), true); [INFO] [stdout] 1866 + assert!(resp.msgbody_persist().is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/httpp.rs:1879:25 [INFO] [stdout] | [INFO] [stdout] 1879 | assert!(false); // body data is longer, reading should always be error-free [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/httpp.rs:1902:17 [INFO] [stdout] | [INFO] [stdout] 1902 | assert!(false, "{:?}", err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(|x| x.as_str())` on an `Option` value [INFO] [stdout] --> src/genericdrv.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | self.browser_name.as_ref().map(|x| x.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.browser_name.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: called `.as_ref().map(|x| x.as_str())` on an `Option` value [INFO] [stdout] --> src/genericdrv.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | self.browser_version.as_ref().map(|x| x.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.browser_version.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] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(|x| x.as_str())` on an `Option` value [INFO] [stdout] --> src/genericdrv.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | self.platform_name.as_ref().map(|x| x.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.platform_name.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] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(|x| x.as_str())` on an `Option` value [INFO] [stdout] --> src/genericdrv.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | self.browser_profile.as_ref().map(|x| x.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.browser_profile.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] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/genericdrv.rs:1124:17 [INFO] [stdout] | [INFO] [stdout] 1124 | assert!(false, "rend is down"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1126:13 [INFO] [stdout] | [INFO] [stdout] 1126 | assert_eq!(wdc.rstream.is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1126 - assert_eq!(wdc.rstream.is_some(), true); [INFO] [stdout] 1126 + assert!(wdc.rstream.is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1127:13 [INFO] [stdout] | [INFO] [stdout] 1127 | assert_eq!(wdc.ssmetas.len() > 0, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1127 - assert_eq!(wdc.ssmetas.len() > 0, true); [INFO] [stdout] 1127 + assert!(wdc.ssmetas.len() > 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1128:13 [INFO] [stdout] | [INFO] [stdout] 1128 | assert_eq!(wdc.is_ready().is_err(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1128 - assert_eq!(wdc.is_ready().is_err(), true); [INFO] [stdout] 1128 + assert!(wdc.is_ready().is_err()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1145:21 [INFO] [stdout] | [INFO] [stdout] 1145 | / assert_eq!( [INFO] [stdout] 1146 | | String::from_utf8_lossy(resp.msgbody()).contains("invalid session id"), [INFO] [stdout] 1147 | | true [INFO] [stdout] 1148 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1145 ~ assert!( [INFO] [stdout] 1146 ~ String::from_utf8_lossy(resp.msgbody()).contains("invalid session id") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/genericdrv.rs:1151:21 [INFO] [stdout] | [INFO] [stdout] 1151 | assert!(false, "server is down"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/genericdrv.rs:1162:17 [INFO] [stdout] | [INFO] [stdout] 1162 | assert!(false, "rend is down"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1164:13 [INFO] [stdout] | [INFO] [stdout] 1164 | assert_eq!(wdc.rstream.is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1164 - assert_eq!(wdc.rstream.is_some(), true); [INFO] [stdout] 1164 + assert!(wdc.rstream.is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1165:13 [INFO] [stdout] | [INFO] [stdout] 1165 | assert_eq!(wdc.ssmetas.len() > 0, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1165 - assert_eq!(wdc.ssmetas.len() > 0, true); [INFO] [stdout] 1165 + assert!(wdc.ssmetas.len() > 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1166:13 [INFO] [stdout] | [INFO] [stdout] 1166 | assert_eq!(wdc.is_ready().is_err(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1166 - assert_eq!(wdc.is_ready().is_err(), true); [INFO] [stdout] 1166 + assert!(wdc.is_ready().is_err()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1183:21 [INFO] [stdout] | [INFO] [stdout] 1183 | / assert_eq!( [INFO] [stdout] 1184 | | String::from_utf8_lossy(resp.msgbody()).contains("invalid session id"), [INFO] [stdout] 1185 | | true [INFO] [stdout] 1186 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1183 ~ assert!( [INFO] [stdout] 1184 ~ String::from_utf8_lossy(resp.msgbody()).contains("invalid session id") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/genericdrv.rs:1189:21 [INFO] [stdout] | [INFO] [stdout] 1189 | assert!(false, "server is down"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/genericdrv.rs:1200:17 [INFO] [stdout] | [INFO] [stdout] 1200 | assert!(false, "rend is down"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1202:13 [INFO] [stdout] | [INFO] [stdout] 1202 | assert_eq!(wdc.rstream.is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1202 - assert_eq!(wdc.rstream.is_some(), true); [INFO] [stdout] 1202 + assert!(wdc.rstream.is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1203:13 [INFO] [stdout] | [INFO] [stdout] 1203 | assert_eq!(wdc.ssmetas.len() > 0, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1203 - assert_eq!(wdc.ssmetas.len() > 0, true); [INFO] [stdout] 1203 + assert!(wdc.ssmetas.len() > 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1204:13 [INFO] [stdout] | [INFO] [stdout] 1204 | assert_eq!(wdc.is_ready().is_err(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1204 - assert_eq!(wdc.is_ready().is_err(), true); [INFO] [stdout] 1204 + assert!(wdc.is_ready().is_err()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1221:21 [INFO] [stdout] | [INFO] [stdout] 1221 | / assert_eq!( [INFO] [stdout] 1222 | | String::from_utf8_lossy(resp.msgbody()).contains("invalid session id"), [INFO] [stdout] 1223 | | true [INFO] [stdout] 1224 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1221 ~ assert!( [INFO] [stdout] 1222 ~ String::from_utf8_lossy(resp.msgbody()).contains("invalid session id") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/genericdrv.rs:1227:21 [INFO] [stdout] | [INFO] [stdout] 1227 | assert!(false, "server is down"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/genericdrv.rs:1238:17 [INFO] [stdout] | [INFO] [stdout] 1238 | assert!(false, "rend is down"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1240:13 [INFO] [stdout] | [INFO] [stdout] 1240 | assert_eq!(wdc.rstream.is_some(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1240 - assert_eq!(wdc.rstream.is_some(), true); [INFO] [stdout] 1240 + assert!(wdc.rstream.is_some()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1241:13 [INFO] [stdout] | [INFO] [stdout] 1241 | assert_eq!(wdc.ssmetas.len() > 0, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1241 - assert_eq!(wdc.ssmetas.len() > 0, true); [INFO] [stdout] 1241 + assert!(wdc.ssmetas.len() > 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1242:13 [INFO] [stdout] | [INFO] [stdout] 1242 | assert_eq!(wdc.is_ready().is_err(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1242 - assert_eq!(wdc.is_ready().is_err(), true); [INFO] [stdout] 1242 + assert!(wdc.is_ready().is_err()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/genericdrv.rs:1259:21 [INFO] [stdout] | [INFO] [stdout] 1259 | / assert_eq!( [INFO] [stdout] 1260 | | String::from_utf8_lossy(resp.msgbody()).contains("invalid session id"), [INFO] [stdout] 1261 | | true [INFO] [stdout] 1262 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1259 ~ assert!( [INFO] [stdout] 1260 ~ String::from_utf8_lossy(resp.msgbody()).contains("invalid session id") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `false` [INFO] [stdout] --> src/genericdrv.rs:1265:21 [INFO] [stdout] | [INFO] [stdout] 1265 | assert!(false, "server is down"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace this with `panic!()` or `unreachable!()` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `rdy_err` after checking its variant with `is_some` [INFO] [stdout] --> src/geckodrv.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 126 | if rdy_err.is_some() { [INFO] [stdout] | -------------------- help: try: `if let Some() = rdy_err` [INFO] [stdout] 127 | let rdy_err = rdy_err.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.42s [INFO] running `Command { std: "docker" "inspect" "bc4ac7e1707fd3de54012f78ab6b241e0f9fc05b1b508344af7b0ac8a186fd9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc4ac7e1707fd3de54012f78ab6b241e0f9fc05b1b508344af7b0ac8a186fd9f", kill_on_drop: false }` [INFO] [stdout] bc4ac7e1707fd3de54012f78ab6b241e0f9fc05b1b508344af7b0ac8a186fd9f