[INFO] fetching crate const-time-bignum 0.1.2... [INFO] linting const-time-bignum-0.1.2 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate const-time-bignum 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate const-time-bignum 0.1.2 [INFO] finished tweaking crates.io crate const-time-bignum 0.1.2 [INFO] tweaked toml for crates.io crate const-time-bignum 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate const-time-bignum 0.1.2 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] 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-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] 781d9491e456e500bd7efab0ded3cee972692d47352a37f10eb7ab52d143d69b [INFO] running `Command { std: "docker" "start" "-a" "781d9491e456e500bd7efab0ded3cee972692d47352a37f10eb7ab52d143d69b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "781d9491e456e500bd7efab0ded3cee972692d47352a37f10eb7ab52d143d69b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "781d9491e456e500bd7efab0ded3cee972692d47352a37f10eb7ab52d143d69b", kill_on_drop: false }` [INFO] [stdout] 781d9491e456e500bd7efab0ded3cee972692d47352a37f10eb7ab52d143d69b [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] 10313f7b75ce2e1f6bdbf4b0f50a9683a4df95b789806a51933c9ac25afa85e2 [INFO] running `Command { std: "docker" "start" "-a" "10313f7b75ce2e1f6bdbf4b0f50a9683a4df95b789806a51933c9ac25afa85e2", kill_on_drop: false }` [INFO] [stderr] Checking const-time-bignum v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/lib.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | quotient = quotient + i << n as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(quotient + i) << n as usize` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] = note: `#[warn(clippy::precedence)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/lib.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | quotient = quotient + i << n as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(quotient + i) << n as usize` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/lib.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | big_u288.0[i / 2] += hex_digit << 4 * (i % 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `hex_digit << (4 * (i % 2))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/lib.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | quotient = quotient + i << n as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(quotient + i) << n as usize` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] = note: `#[warn(clippy::precedence)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/lib.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | quotient = quotient + i << n as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(quotient + i) << n as usize` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/lib.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | big_u288.0[i / 2] += hex_digit << 4 * (i % 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `hex_digit << (4 * (i % 2))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/lib.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/lib.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> src/lib.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | let sum: u64 = *byte as u64 + other.0[i] as u64 + carry as u64; [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `carry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> src/lib.rs:64:72 [INFO] [stdout] | [INFO] [stdout] 64 | let product = *byte_other as u64 * *byte_self as u64 + carry as u64; [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `carry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> src/lib.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | let sum: u64 = *byte as u64 + other.0[i] as u64 + carry as u64; [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `carry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | flag &= !(divisor.0[i] != 0) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `(divisor.0[i] == 0)` [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: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> src/lib.rs:64:72 [INFO] [stdout] | [INFO] [stdout] 64 | let product = *byte_other as u64 * *byte_self as u64 + carry as u64; [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `carry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/lib.rs:270:52 [INFO] [stdout] | [INFO] [stdout] 270 | lt = (*byte_self < other.0[i]) as u8 | (lt & (*byte_self == other.0[i]) as u8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(lt & (*byte_self == other.0[i]) as u8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/lib.rs:277:52 [INFO] [stdout] | [INFO] [stdout] 277 | gt = (*byte_self > other.0[i]) as u8 | (gt & (*byte_self == other.0[i]) as u8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(gt & (*byte_self == other.0[i]) as u8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/lib.rs:284:52 [INFO] [stdout] | [INFO] [stdout] 284 | le = (*byte_self < other.0[i]) as u8 | (le & (*byte_self == other.0[i]) as u8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(le & (*byte_self == other.0[i]) as u8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/lib.rs:291:52 [INFO] [stdout] | [INFO] [stdout] 291 | ge = (*byte_self > other.0[i]) as u8 | (ge & (*byte_self == other.0[i]) as u8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(ge & (*byte_self == other.0[i]) as u8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `u288` [INFO] [stdout] --> src/lib.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | / pub fn new() -> u288 { [INFO] [stdout] 333 | | u288([0; 36]) [INFO] [stdout] 334 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 302 + impl Default for u288 { [INFO] [stdout] 303 + fn default() -> Self { [INFO] [stdout] 304 + Self::new() [INFO] [stdout] 305 + } [INFO] [stdout] 306 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | flag &= !(divisor.0[i] != 0) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `(divisor.0[i] == 0)` [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: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/lib.rs:270:52 [INFO] [stdout] | [INFO] [stdout] 270 | lt = (*byte_self < other.0[i]) as u8 | (lt & (*byte_self == other.0[i]) as u8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(lt & (*byte_self == other.0[i]) as u8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/lib.rs:277:52 [INFO] [stdout] | [INFO] [stdout] 277 | gt = (*byte_self > other.0[i]) as u8 | (gt & (*byte_self == other.0[i]) as u8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(gt & (*byte_self == other.0[i]) as u8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/lib.rs:284:52 [INFO] [stdout] | [INFO] [stdout] 284 | le = (*byte_self < other.0[i]) as u8 | (le & (*byte_self == other.0[i]) as u8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(le & (*byte_self == other.0[i]) as u8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/lib.rs:291:52 [INFO] [stdout] | [INFO] [stdout] 291 | ge = (*byte_self > other.0[i]) as u8 | (ge & (*byte_self == other.0[i]) as u8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(ge & (*byte_self == other.0[i]) as u8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `u288` [INFO] [stdout] --> src/lib.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | / pub fn new() -> u288 { [INFO] [stdout] 333 | | u288([0; 36]) [INFO] [stdout] 334 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 302 + impl Default for u288 { [INFO] [stdout] 303 + fn default() -> Self { [INFO] [stdout] 304 + Self::new() [INFO] [stdout] 305 + } [INFO] [stdout] 306 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> tests/unit_tests.rs:311:64 [INFO] [stdout] | [INFO] [stdout] 311 | u288::from_slice(&[255, 100]) * u288::from_slice(&[005, 000]), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] = note: `#[warn(clippy::zero_prefixed_literal)]` on by default [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 311 - u288::from_slice(&[255, 100]) * u288::from_slice(&[005, 000]), [INFO] [stdout] 311 + u288::from_slice(&[255, 100]) * u288::from_slice(&[5, 000]), [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 311 - u288::from_slice(&[255, 100]) * u288::from_slice(&[005, 000]), [INFO] [stdout] 311 + u288::from_slice(&[255, 100]) * u288::from_slice(&[0o5, 000]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> tests/unit_tests.rs:312:42 [INFO] [stdout] | [INFO] [stdout] 312 | u288::from_slice(&[251, 248, 001]) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 312 - u288::from_slice(&[251, 248, 001]) [INFO] [stdout] 312 + u288::from_slice(&[251, 248, 1]) [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 312 - u288::from_slice(&[251, 248, 001]) [INFO] [stdout] 312 + u288::from_slice(&[251, 248, 0o1]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> tests/unit_tests.rs:320:32 [INFO] [stdout] | [INFO] [stdout] 320 | u288::from_slice(&[001, 255, 255, 254]) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 320 - u288::from_slice(&[001, 255, 255, 254]) [INFO] [stdout] 320 + u288::from_slice(&[1, 255, 255, 254]) [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 320 - u288::from_slice(&[001, 255, 255, 254]) [INFO] [stdout] 320 + u288::from_slice(&[0o1, 255, 255, 254]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(u288::from_hex("f0") < u288::from_hex("ff"), 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] 31 - assert_eq!(u288::from_hex("f0") < u288::from_hex("ff"), true); [INFO] [stdout] 31 + assert!(u288::from_hex("f0") < u288::from_hex("ff")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / assert_eq!( [INFO] [stdout] 37 | | u288::from_slice(&[0, 255, 0]) < u288::from_slice(&[255, 0, 255]), [INFO] [stdout] 38 | | true [INFO] [stdout] 39 | | ); [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] 36 ~ assert!( [INFO] [stdout] 37 ~ u288::from_slice(&[0, 255, 0]) < u288::from_slice(&[255, 0, 255]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / assert_eq!( [INFO] [stdout] 45 | | u288::from_hex("ffffff") < u288::from_hex("ffffff"), [INFO] [stdout] 46 | | false [INFO] [stdout] 47 | | ); [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] 44 ~ assert!( [INFO] [stdout] 45 ~ !(u288::from_hex("ffffff") < u288::from_hex("ffffff")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(u288::from_hex("a0b5") < u288::from_hex("a0b5"), 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] 52 - assert_eq!(u288::from_hex("a0b5") < u288::from_hex("a0b5"), false); [INFO] [stdout] 52 + assert!(!(u288::from_hex("a0b5") < u288::from_hex("a0b5"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | / assert_eq!( [INFO] [stdout] 58 | | u288::from_hex("fffffff") > u288::from_hex("ffffff"), [INFO] [stdout] 59 | | true [INFO] [stdout] 60 | | ); [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] 57 ~ assert!( [INFO] [stdout] 58 ~ u288::from_hex("fffffff") > u288::from_hex("ffffff") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / assert_eq!( [INFO] [stdout] 66 | | u288::from_hex("f000000") > u288::from_hex("826fe5"), [INFO] [stdout] 67 | | true [INFO] [stdout] 68 | | ); [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] 65 ~ assert!( [INFO] [stdout] 66 ~ u288::from_hex("f000000") > u288::from_hex("826fe5") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / assert_eq!( [INFO] [stdout] 74 | | u288::from_slice(&[255, 0, 255]) > u288::from_slice(&[0, 0, 255, 255]), [INFO] [stdout] 75 | | false [INFO] [stdout] 76 | | ); [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] 73 ~ assert!( [INFO] [stdout] 74 ~ !(u288::from_slice(&[255, 0, 255]) > u288::from_slice(&[0, 0, 255, 255])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(u288::from_hex("8f27") > u288::from_hex("8f27"), 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] 81 - assert_eq!(u288::from_hex("8f27") > u288::from_hex("8f27"), false); [INFO] [stdout] 81 + assert!(!(u288::from_hex("8f27") > u288::from_hex("8f27"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | / assert_eq!( [INFO] [stdout] 87 | | u288::from_hex("38f6a") <= u288::from_hex("38f6a"), [INFO] [stdout] 88 | | true [INFO] [stdout] 89 | | ); [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] 86 ~ assert!( [INFO] [stdout] 87 ~ u288::from_hex("38f6a") <= u288::from_hex("38f6a") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / assert_eq!( [INFO] [stdout] 95 | | u288::from_hex("fff") <= u288::from_hex("f38f6a"), [INFO] [stdout] 96 | | true [INFO] [stdout] 97 | | ); [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] 94 ~ assert!( [INFO] [stdout] 95 ~ u288::from_hex("fff") <= u288::from_hex("f38f6a") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | assert_eq!(u288::from_hex("fff") <= u288::from_hex("ffe"), 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] 102 - assert_eq!(u288::from_hex("fff") <= u288::from_hex("ffe"), false); [INFO] [stdout] 102 + assert!(!(u288::from_hex("fff") <= u288::from_hex("ffe"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | assert_eq!(u288::from_hex("fff") >= u288::from_hex("fff"), 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] 107 - assert_eq!(u288::from_hex("fff") >= u288::from_hex("fff"), true); [INFO] [stdout] 107 + assert!(u288::from_hex("fff") >= u288::from_hex("fff")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(u288::from_hex("fff") >= u288::from_hex("f5f"), 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] 112 - assert_eq!(u288::from_hex("fff") >= u288::from_hex("f5f"), true); [INFO] [stdout] 112 + assert!(u288::from_hex("fff") >= u288::from_hex("f5f")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/unit_tests.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / assert_eq!( [INFO] [stdout] 118 | | u288::from_hex("fff") >= u288::from_hex("f8fff"), [INFO] [stdout] 119 | | false [INFO] [stdout] 120 | | ); [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] 117 ~ assert!( [INFO] [stdout] 118 ~ !(u288::from_hex("fff") >= u288::from_hex("f8fff")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "10313f7b75ce2e1f6bdbf4b0f50a9683a4df95b789806a51933c9ac25afa85e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10313f7b75ce2e1f6bdbf4b0f50a9683a4df95b789806a51933c9ac25afa85e2", kill_on_drop: false }` [INFO] [stdout] 10313f7b75ce2e1f6bdbf4b0f50a9683a4df95b789806a51933c9ac25afa85e2