[INFO] fetching crate kth 0.1.0... [INFO] linting kth-0.1.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate kth 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate kth 0.1.0 [INFO] finished tweaking crates.io crate kth 0.1.0 [INFO] tweaked toml for crates.io crate kth 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kth 0.1.0 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 28 packages to latest compatible versions [INFO] [stderr] Adding index-fixed v0.0.2 (available: v0.3.1) [INFO] [stderr] Adding quickcheck v0.4.1 (available: v1.1.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.10.0) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [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] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded index-fixed v0.0.2 [INFO] [stderr] Downloaded quickcheck v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f3889954aac79fb706e00dfc3eaab27d16a57cfc451a12767886ac52569e1aa [INFO] running `Command { std: "docker" "start" "-a" "7f3889954aac79fb706e00dfc3eaab27d16a57cfc451a12767886ac52569e1aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f3889954aac79fb706e00dfc3eaab27d16a57cfc451a12767886ac52569e1aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f3889954aac79fb706e00dfc3eaab27d16a57cfc451a12767886ac52569e1aa", kill_on_drop: false }` [INFO] [stdout] 7f3889954aac79fb706e00dfc3eaab27d16a57cfc451a12767886ac52569e1aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48ce7a5ecf92ac6f75a1eacdca18be08d44056996118a25e0006121e767a4610 [INFO] running `Command { std: "docker" "start" "-a" "48ce7a5ecf92ac6f75a1eacdca18be08d44056996118a25e0006121e767a4610", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking index-fixed v0.0.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling kth v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stdout] warning: transmute from a pointer type (`*mut T`) to a reference type (`&mut [T; 3]`) [INFO] [stdout] --> src/quickselect.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | sort3(index_fixed!(&mut a;..3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: `#[warn(clippy::transmute_ptr_to_ref)]` on by default [INFO] [stdout] = note: this warning originates in the macro `index_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute from a pointer type (`*mut T`) to a reference type (`&mut [T; 3]`) [INFO] [stdout] --> src/quickselect.rs:232:15 [INFO] [stdout] | [INFO] [stdout] 232 | sort3(index_fixed!(&mut a;..3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: this warning originates in the macro `index_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/quickselect.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | debug_assert!(arr.len() > 0); [INFO] [stdout] | ^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!arr.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] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking quickcheck v0.4.1 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/slice.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut d = &mut d[..]; [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: this boolean expression can be simplified [INFO] [stdout] --> tests/slice.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | if !(x[i] <= x[p]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `(x[i] > x[p])` [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] --> tests/slice.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | if !(x[i] >= x[p]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `(x[i] < x[p])` [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 `if` statement can be collapsed [INFO] [stdout] --> tests/slice.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | } else if i > p { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | if !(x[i] >= x[p]) { [INFO] [stdout] 16 | | return true; [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 14 ~ } else if i > p [INFO] [stdout] 15 ~ && !(x[i] >= x[p]) { [INFO] [stdout] 16 | return true; [INFO] [stdout] 17 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> tests/slice.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | if data.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `data.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: transmute from a pointer type (`*mut T`) to a reference type (`&mut [T; 3]`) [INFO] [stdout] --> src/quickselect.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | sort3(index_fixed!(&mut a;..3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: `#[warn(clippy::transmute_ptr_to_ref)]` on by default [INFO] [stdout] = note: this warning originates in the macro `index_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute from a pointer type (`*mut T`) to a reference type (`&mut [T; 3]`) [INFO] [stdout] --> src/quickselect.rs:232:15 [INFO] [stdout] | [INFO] [stdout] 232 | sort3(index_fixed!(&mut a;..3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: this warning originates in the macro `index_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute from a pointer type (`*mut T`) to a reference type (`&mut [T; 5]`) [INFO] [stdout] --> src/quickselect.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | partition5(index_fixed!(&mut a;..5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: this warning originates in the macro `index_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/quickselect.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | debug_assert!(arr.len() > 0); [INFO] [stdout] | ^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!arr.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/quickselect.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | if !(x[i] <= x[p]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `(x[i] > x[p])` [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/quickselect.rs:378:20 [INFO] [stdout] | [INFO] [stdout] 378 | if !(x[i] >= x[p]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `(x[i] < x[p])` [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 `if` statement can be collapsed [INFO] [stdout] --> src/quickselect.rs:377:20 [INFO] [stdout] | [INFO] [stdout] 377 | } else if i > p { [INFO] [stdout] | ____________________^ [INFO] [stdout] 378 | | if !(x[i] >= x[p]) { [INFO] [stdout] 379 | | return true; [INFO] [stdout] 380 | | } [INFO] [stdout] 381 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 377 ~ } else if i > p [INFO] [stdout] 378 ~ && !(x[i] >= x[p]) { [INFO] [stdout] 379 | return true; [INFO] [stdout] 380 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/quickselect.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | if !(op == x[p]) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `(op != x[p])` [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: unneeded `return` statement [INFO] [stdout] --> src/quickselect.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | return Ok(p); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 397 - return Ok(p); [INFO] [stdout] 397 + Ok(p) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute from a pointer type (`*mut T`) to a reference type (`&mut [T; 5]`) [INFO] [stdout] --> src/quickselect.rs:406:21 [INFO] [stdout] | [INFO] [stdout] 406 | let d = index_fixed!(&mut d;..5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: this warning originates in the macro `index_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute from a pointer type (`*mut T`) to a reference type (`&mut [T; 5]`) [INFO] [stdout] --> src/quickselect.rs:416:21 [INFO] [stdout] | [INFO] [stdout] 416 | let d = index_fixed!(&mut d;..5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: this warning originates in the macro `index_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute from a pointer type (`*mut T`) to a reference type (`&mut [T; 5]`) [INFO] [stdout] --> src/quickselect.rs:427:21 [INFO] [stdout] | [INFO] [stdout] 427 | let d = index_fixed!(&mut d;..5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: this warning originates in the macro `index_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute from a pointer type (`*mut T`) to a reference type (`&mut [T; 3]`) [INFO] [stdout] --> src/quickselect.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | let d = index_fixed!(&mut d;..3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: this warning originates in the macro `index_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/quickselect.rs:448:16 [INFO] [stdout] | [INFO] [stdout] 448 | if d.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `d.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] [INFO] [stdout] [INFO] [stdout] warning: the function `is_partitioned` doesn't need a mutable reference [INFO] [stdout] --> src/quickselect.rs:456:50 [INFO] [stdout] | [INFO] [stdout] 456 | TestResult::from_bool(is_partitioned(&mut d[..], po)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed [INFO] [stdout] = note: `#[warn(clippy::unnecessary_mut_passed)]` on by default [INFO] [stdout] help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] 456 - TestResult::from_bool(is_partitioned(&mut d[..], po)) [INFO] [stdout] 456 + TestResult::from_bool(is_partitioned(&d[..], po)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/quickselect.rs:461:16 [INFO] [stdout] | [INFO] [stdout] 461 | if d.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `d.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] [INFO] [stdout] [INFO] [stdout] warning: the function `is_partitioned` doesn't need a mutable reference [INFO] [stdout] --> src/quickselect.rs:469:50 [INFO] [stdout] | [INFO] [stdout] 469 | TestResult::from_bool(is_partitioned(&mut d[..], po)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed [INFO] [stdout] help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] 469 - TestResult::from_bool(is_partitioned(&mut d[..], po)) [INFO] [stdout] 469 + TestResult::from_bool(is_partitioned(&d[..], po)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/quickselect.rs:474:16 [INFO] [stdout] | [INFO] [stdout] 474 | if d.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `d.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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.07s [INFO] running `Command { std: "docker" "inspect" "48ce7a5ecf92ac6f75a1eacdca18be08d44056996118a25e0006121e767a4610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48ce7a5ecf92ac6f75a1eacdca18be08d44056996118a25e0006121e767a4610", kill_on_drop: false }` [INFO] [stdout] 48ce7a5ecf92ac6f75a1eacdca18be08d44056996118a25e0006121e767a4610