[INFO] cloning repository https://github.com/marcshapiro/rat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcshapiro/rat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcshapiro%2Frat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcshapiro%2Frat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f36eb1962f0d95ce8cd3ca319ac0c325ef11b1ce [INFO] linting marcshapiro/rat against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcshapiro%2Frat" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcshapiro/rat [INFO] finished tweaking git repo https://github.com/marcshapiro/rat [INFO] tweaked toml for git repo https://github.com/marcshapiro/rat written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcshapiro/rat on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcshapiro/rat already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8parse v0.2.0 [INFO] [stderr] Downloaded termios v0.3.3 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded cc v1.0.72 [INFO] [stderr] Downloaded smallvec v1.7.0 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded logos v0.12.0 [INFO] [stderr] Downloaded beef v0.5.1 [INFO] [stderr] Downloaded error-code v2.3.0 [INFO] [stderr] Downloaded clipboard-win v4.2.2 [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded str-buf v1.0.5 [INFO] [stderr] Downloaded num-complex v0.4.0 [INFO] [stderr] Downloaded logos-derive v0.12.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.32 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded pomelo v0.1.5 [INFO] [stderr] Downloaded unicode-segmentation v1.8.0 [INFO] [stderr] Downloaded aho-corasick v0.7.18 [INFO] [stderr] Downloaded rustyline v9.0.0 [INFO] [stderr] Downloaded log v0.4.14 [INFO] [stderr] Downloaded num-rational v0.4.0 [INFO] [stderr] Downloaded pomelo-impl v0.1.5 [INFO] [stderr] Downloaded nix v0.22.2 [INFO] [stderr] Downloaded syn v1.0.82 [INFO] [stderr] Downloaded redox_syscall v0.2.10 [INFO] [stderr] Downloaded regex v1.5.4 [INFO] [stderr] Downloaded regex-syntax v0.6.25 [INFO] [stderr] Downloaded quote v1.0.10 [INFO] [stderr] Downloaded getrandom v0.2.3 [INFO] [stderr] Downloaded fd-lock v3.0.1 [INFO] [stderr] Downloaded libc v0.2.108 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.28.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.28.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.28.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.28.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.28.0 [INFO] [stderr] Downloaded windows-sys v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fc8adb15f6cd24e44d7ef4347b5a230623c95d6485d2cf732a3af11da063f75 [INFO] running `Command { std: "docker" "start" "-a" "7fc8adb15f6cd24e44d7ef4347b5a230623c95d6485d2cf732a3af11da063f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fc8adb15f6cd24e44d7ef4347b5a230623c95d6485d2cf732a3af11da063f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc8adb15f6cd24e44d7ef4347b5a230623c95d6485d2cf732a3af11da063f75", kill_on_drop: false }` [INFO] [stdout] 7fc8adb15f6cd24e44d7ef4347b5a230623c95d6485d2cf732a3af11da063f75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e483adcae9245ee23e315174017a3941a3f75589fd87327b9dad4c2a26e90222 [INFO] running `Command { std: "docker" "start" "-a" "e483adcae9245ee23e315174017a3941a3f75589fd87327b9dad4c2a26e90222", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking nix v0.22.2 [INFO] [stderr] Checking fd-lock v3.0.1 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking rustyline v9.0.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling pomelo-impl v0.1.5 [INFO] [stderr] Checking pomelo v0.1.5 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking rat v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(not(tarpaulin_include))] // input (command line), output (result) [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/mod.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(not(tarpaulin_include))] // input [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/mod.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(not(tarpaulin_include))] // input [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/mod.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(not(tarpaulin_include))] // output [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/io/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(not(tarpaulin_include))] // input [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/io/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(not(tarpaulin_include))] // output [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/io/link.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(tarpaulin_include))] // input [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/repl/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(tarpaulin_include))] // input (and loads and output) [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/repl/mod.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(not(tarpaulin_include))] // output, loads [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/repl/mod.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(not(tarpaulin_include))] // loads [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/repl/mod.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(not(tarpaulin_include))] // output [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/repl/mod.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg(not(tarpaulin_include))] // output [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/run/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(not(tarpaulin_include))] // env, output [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(not(tarpaulin_include))] // input (command line), output (result) [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/mod.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(not(tarpaulin_include))] // input [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/mod.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(not(tarpaulin_include))] // input [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/mod.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(not(tarpaulin_include))] // output [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/io/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(not(tarpaulin_include))] // input [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/io/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(not(tarpaulin_include))] // output [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/bi/io/link.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(tarpaulin_include))] // input [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/repl/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(tarpaulin_include))] // input (and loads and output) [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/repl/mod.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(not(tarpaulin_include))] // output, loads [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/repl/mod.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(not(tarpaulin_include))] // loads [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/repl/mod.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(not(tarpaulin_include))] // output [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/repl/mod.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg(not(tarpaulin_include))] // output [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/run/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(not(tarpaulin_include))] // env, output [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/bi/mod.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | Ok(Bst::List((&av[ix..ex]).to_vec())) [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `av[ix..ex]` [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 `if` branch is empty [INFO] [stdout] --> src/repl/rline.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | if rl.load_history(hist_file).is_err() { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can remove it: `rl.load_history(hist_file).is_err();` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_ifs [INFO] [stdout] = note: `#[warn(clippy::needless_ifs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/run/cmd.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if None == path && None == sfmt && None == stime { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `Option::is_none()` instead: `path.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] = note: `#[warn(clippy::partialeq_to_none)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/run/cmd.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | if None == path && None == sfmt && None == stime { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `Option::is_none()` instead: `sfmt.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/run/cmd.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 59 | if None == path && None == sfmt && None == stime { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `stime.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/bi/io/link.rs:276:23 [INFO] [stdout] | [INFO] [stdout] 276 | let err = Err(io::Error::new(io::ErrorKind::Other, msg.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 276 - let err = Err(io::Error::new(io::ErrorKind::Other, msg.to_string())); [INFO] [stdout] 276 + let err = Err(io::Error::other(msg.to_string())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/bi/io/mod.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | let err = Err(io::Error::new(io::ErrorKind::Other, msg.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 56 - let err = Err(io::Error::new(io::ErrorKind::Other, msg.to_string())); [INFO] [stdout] 56 + let err = Err(io::Error::other(msg.to_string())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/bi/mod.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | Ok(Bst::List((&av[ix..ex]).to_vec())) [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `av[ix..ex]` [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: length comparison to zero [INFO] [stdout] --> src/bi/mod.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 369 | if 0 < xerr.len() { assert_eq!(e, xerr); } [INFO] [stdout] | ^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!xerr.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] --> src/brat/mod.rs:508:17 [INFO] [stdout] | [INFO] [stdout] 508 | assert!(!(&a != &b)); [INFO] [stdout] | ^^^^^^^^^^^ help: try: `(&a == &b)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/brat/mod.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | assert!(!(&a < &b)); [INFO] [stdout] | ^^^^^^^^^^ help: try: `(&a >= &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: this boolean expression can be simplified [INFO] [stdout] --> src/brat/mod.rs:510:17 [INFO] [stdout] | [INFO] [stdout] 510 | assert!(!(&a > &b)); [INFO] [stdout] | ^^^^^^^^^^ help: try: `(&a <= &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: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | assert!(&a == &b); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] = note: `#[warn(clippy::op_ref)]` on by default [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 507 - assert!(&a == &b); [INFO] [stdout] 507 + assert!(a == b); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:508:18 [INFO] [stdout] | [INFO] [stdout] 508 | assert!(!(&a != &b)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 508 - assert!(!(&a != &b)); [INFO] [stdout] 508 + assert!(!(a != b)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:509:18 [INFO] [stdout] | [INFO] [stdout] 509 | assert!(!(&a < &b)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 509 - assert!(!(&a < &b)); [INFO] [stdout] 509 + assert!(!(a < b)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:510:18 [INFO] [stdout] | [INFO] [stdout] 510 | assert!(!(&a > &b)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 510 - assert!(!(&a > &b)); [INFO] [stdout] 510 + assert!(!(a > b)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/brat/mod.rs:515:17 [INFO] [stdout] | [INFO] [stdout] 515 | assert!(!(&a == &b)); [INFO] [stdout] | ^^^^^^^^^^^ help: try: `(&a != &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: this boolean expression can be simplified [INFO] [stdout] --> src/brat/mod.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | assert!(!(&b == &a)); [INFO] [stdout] | ^^^^^^^^^^^ help: try: `(&b != &a)` [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: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | assert!(&a != &b); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 513 - assert!(&a != &b); [INFO] [stdout] 513 + assert!(a != b); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | assert!(&b != &a); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 514 - assert!(&b != &a); [INFO] [stdout] 514 + assert!(b != a); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:515:18 [INFO] [stdout] | [INFO] [stdout] 515 | assert!(!(&a == &b)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 515 - assert!(!(&a == &b)); [INFO] [stdout] 515 + assert!(!(a == b)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | assert!(!(&b == &a)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 516 - assert!(!(&b == &a)); [INFO] [stdout] 516 + assert!(!(b == a)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | assert!(&a < &b); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 519 - assert!(&a < &b); [INFO] [stdout] 519 + assert!(a < b); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:520:17 [INFO] [stdout] | [INFO] [stdout] 520 | assert!(&b > &a); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 520 - assert!(&b > &a); [INFO] [stdout] 520 + assert!(b > a); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 521 | assert!(&a <= &b); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 521 - assert!(&a <= &b); [INFO] [stdout] 521 + assert!(a <= b); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of both operands [INFO] [stdout] --> src/brat/mod.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | assert!(&b >= &a); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 522 - assert!(&b >= &a); [INFO] [stdout] 522 + assert!(b >= a); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:555:31 [INFO] [stdout] | [INFO] [stdout] 555 | #[test] fn is_finite1() { assert_eq!(BRat::zero().is_finite(), 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] 555 - #[test] fn is_finite1() { assert_eq!(BRat::zero().is_finite(), true); } [INFO] [stdout] 555 + #[test] fn is_finite1() { assert!(BRat::zero().is_finite()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:556:31 [INFO] [stdout] | [INFO] [stdout] 556 | #[test] fn is_finite2() { assert_eq!(BRat::one().is_finite(), 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] 556 - #[test] fn is_finite2() { assert_eq!(BRat::one().is_finite(), true); } [INFO] [stdout] 556 + #[test] fn is_finite2() { assert!(BRat::one().is_finite()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:557:31 [INFO] [stdout] | [INFO] [stdout] 557 | #[test] fn is_finite3() { assert_eq!(BRat::from_i32(-12).is_finite(), 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] 557 - #[test] fn is_finite3() { assert_eq!(BRat::from_i32(-12).is_finite(), true); } [INFO] [stdout] 557 + #[test] fn is_finite3() { assert!(BRat::from_i32(-12).is_finite()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:558:31 [INFO] [stdout] | [INFO] [stdout] 558 | #[test] fn is_finite4() { assert_eq!(BRat::nan().is_finite(), 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] 558 - #[test] fn is_finite4() { assert_eq!(BRat::nan().is_finite(), false); } [INFO] [stdout] 558 + #[test] fn is_finite4() { assert!(!BRat::nan().is_finite()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:559:31 [INFO] [stdout] | [INFO] [stdout] 559 | #[test] fn is_finite5() { assert_eq!(BRat::inf().is_finite(), 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] 559 - #[test] fn is_finite5() { assert_eq!(BRat::inf().is_finite(), false); } [INFO] [stdout] 559 + #[test] fn is_finite5() { assert!(!BRat::inf().is_finite()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:560:31 [INFO] [stdout] | [INFO] [stdout] 560 | #[test] fn is_finite6() { assert_eq!(BRat::minf().is_finite(), 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] 560 - #[test] fn is_finite6() { assert_eq!(BRat::minf().is_finite(), false); } [INFO] [stdout] 560 + #[test] fn is_finite6() { assert!(!BRat::minf().is_finite()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:572:28 [INFO] [stdout] | [INFO] [stdout] 572 | #[test] fn is_int1() { assert_eq!(BRat::zero().is_int(), 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] 572 - #[test] fn is_int1() { assert_eq!(BRat::zero().is_int(), true); } [INFO] [stdout] 572 + #[test] fn is_int1() { assert!(BRat::zero().is_int()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:573:28 [INFO] [stdout] | [INFO] [stdout] 573 | #[test] fn is_int2() { assert_eq!(BRat::one().is_int(), 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] 573 - #[test] fn is_int2() { assert_eq!(BRat::one().is_int(), true); } [INFO] [stdout] 573 + #[test] fn is_int2() { assert!(BRat::one().is_int()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:574:28 [INFO] [stdout] | [INFO] [stdout] 574 | #[test] fn is_int3() { assert_eq!(BRat::from_i32(-123).is_int(), 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] 574 - #[test] fn is_int3() { assert_eq!(BRat::from_i32(-123).is_int(), true); } [INFO] [stdout] 574 + #[test] fn is_int3() { assert!(BRat::from_i32(-123).is_int()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:575:28 [INFO] [stdout] | [INFO] [stdout] 575 | #[test] fn is_int4() { assert_eq!(BRat::nan().is_int(), 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] 575 - #[test] fn is_int4() { assert_eq!(BRat::nan().is_int(), false); } [INFO] [stdout] 575 + #[test] fn is_int4() { assert!(!BRat::nan().is_int()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:576:28 [INFO] [stdout] | [INFO] [stdout] 576 | #[test] fn is_int5() { assert_eq!(BRat::inf().is_int(), 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] 576 - #[test] fn is_int5() { assert_eq!(BRat::inf().is_int(), false); } [INFO] [stdout] 576 + #[test] fn is_int5() { assert!(!BRat::inf().is_int()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:577:28 [INFO] [stdout] | [INFO] [stdout] 577 | #[test] fn is_int6() { assert_eq!(BRat::minf().is_int(), 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] 577 - #[test] fn is_int6() { assert_eq!(BRat::minf().is_int(), false); } [INFO] [stdout] 577 + #[test] fn is_int6() { assert!(!BRat::minf().is_int()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/brat/mod.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | #[test] fn is_int7() { assert_eq!(BRat::from_pair32(-123,2).is_int(), 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] 578 - #[test] fn is_int7() { assert_eq!(BRat::from_pair32(-123,2).is_int(), false); } [INFO] [stdout] 578 + #[test] fn is_int7() { assert!(!BRat::from_pair32(-123,2).is_int()); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` branch is empty [INFO] [stdout] --> src/repl/rline.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | if rl.load_history(hist_file).is_err() { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can remove it: `rl.load_history(hist_file).is_err();` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_ifs [INFO] [stdout] = note: `#[warn(clippy::needless_ifs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/run/cmd.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if None == path && None == sfmt && None == stime { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `Option::is_none()` instead: `path.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] = note: `#[warn(clippy::partialeq_to_none)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/run/cmd.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | if None == path && None == sfmt && None == stime { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `Option::is_none()` instead: `sfmt.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/run/cmd.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 59 | if None == path && None == sfmt && None == stime { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `stime.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cab/funct.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let e = f.call(&vec![Bst::one()], &mut Cab::new(), &None).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: you can use a slice directly: `&[Bst::one()]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] = note: `#[warn(clippy::useless_vec)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cab/funct.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | let e = f.call(&vec![], &mut Cab::new(), &None).unwrap_err(); [INFO] [stdout] | ^^^^^^^ help: you can use a slice directly: `&[]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cab/funct.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | let r = f.call(&vec![Bst::one(), Bst::one()], &mut Cab::taxi(false), &None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use a slice directly: `&[Bst::one(), Bst::one()]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cab/funct.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | let r = f.call(&vec![Bst::one(), Bst::one()], &mut Cab::taxi(false), &None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use a slice directly: `&[Bst::one(), Bst::one()]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.03s [INFO] running `Command { std: "docker" "inspect" "e483adcae9245ee23e315174017a3941a3f75589fd87327b9dad4c2a26e90222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e483adcae9245ee23e315174017a3941a3f75589fd87327b9dad4c2a26e90222", kill_on_drop: false }` [INFO] [stdout] e483adcae9245ee23e315174017a3941a3f75589fd87327b9dad4c2a26e90222