[INFO] cloning repository https://github.com/hirthjo/ordinal-motifs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hirthjo/ordinal-motifs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhirthjo%2Fordinal-motifs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhirthjo%2Fordinal-motifs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53a81b6be8a9a3804a59b12f8c3a3fada5f4e2d4 [INFO] linting hirthjo/ordinal-motifs against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhirthjo%2Fordinal-motifs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hirthjo/ordinal-motifs [INFO] finished tweaking git repo https://github.com/hirthjo/ordinal-motifs [INFO] tweaked toml for git repo https://github.com/hirthjo/ordinal-motifs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hirthjo/ordinal-motifs 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/hirthjo/ordinal-motifs 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] Downloading crates ... [INFO] [stderr] Downloaded itertools v0.8.2 [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] f440ee9cf2c37cc209a9fc79c23a3a1c701ec13ae48fb0e6e32b502bba83bd44 [INFO] running `Command { std: "docker" "start" "-a" "f440ee9cf2c37cc209a9fc79c23a3a1c701ec13ae48fb0e6e32b502bba83bd44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f440ee9cf2c37cc209a9fc79c23a3a1c701ec13ae48fb0e6e32b502bba83bd44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f440ee9cf2c37cc209a9fc79c23a3a1c701ec13ae48fb0e6e32b502bba83bd44", kill_on_drop: false }` [INFO] [stdout] f440ee9cf2c37cc209a9fc79c23a3a1c701ec13ae48fb0e6e32b502bba83bd44 [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] fdfd7d3c3abfe0ebaa35d23f73d5c5fff45d562334362c41db61b90265b15ce3 [INFO] running `Command { std: "docker" "start" "-a" "fdfd7d3c3abfe0ebaa35d23f73d5c5fff45d562334362c41db61b90265b15ce3", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ordinal-motifs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this is an `else {..}` but the formatting might hide it [INFO] [stdout] --> src/lib.rs:204:64 [INFO] [stdout] | [INFO] [stdout] 204 | { motifs_size_next.insert(candidate); } else [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 205 | | { counter_examples.insert(candidate); } [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: to remove this lint, remove the `else` or remove the new line between `else` and `{..}` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_else_formatting [INFO] [stdout] = note: `#[warn(clippy::suspicious_else_formatting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is an `else {..}` but the formatting might hide it [INFO] [stdout] --> src/lib.rs:204:64 [INFO] [stdout] | [INFO] [stdout] 204 | { motifs_size_next.insert(candidate); } else [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 205 | | { counter_examples.insert(candidate); } [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: to remove this lint, remove the `else` or remove the new line between `else` and `{..}` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_else_formatting [INFO] [stdout] = note: `#[warn(clippy::suspicious_else_formatting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | BigUint::from(2u8).pow(self.object_count() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.object_count()` [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 (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | BigUint::from(2u8).pow(self.attribute_count() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.attribute_count()` [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: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/lib.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn transpose_vectors(vectors: &Vec, length: u64) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 59 - pub fn transpose_vectors(vectors: &Vec, length: u64) -> Vec{ [INFO] [stdout] 59 + pub fn transpose_vectors(vectors: &[BigUint], length: u64) -> Vec{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | object_names: &Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 85 ~ object_names: &[String], [INFO] [stdout] 86 | attribute_names: &Vec) -> Context{ [INFO] [stdout] 87 ~ let object_names: Vec = object_names.to_owned().iter().map(|s| s.to_string()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | BigUint::from(2u8).pow(self.object_count() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.object_count()` [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 (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | BigUint::from(2u8).pow(self.attribute_count() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.attribute_count()` [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: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/lib.rs:86:42 [INFO] [stdout] | [INFO] [stdout] 86 | attribute_names: &Vec) -> Context{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 86 ~ attribute_names: &[String]) -> Context{ [INFO] [stdout] 87 | let object_names: Vec = object_names.clone().iter().map(|s| s.to_string()).collect(); [INFO] [stdout] 88 ~ let attribute_names: Vec = attribute_names.to_owned().iter().map(|s| s.to_string()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / return Context { [INFO] [stdout] 118 | | object_vectors, [INFO] [stdout] 119 | | attribute_vectors, [INFO] [stdout] 120 | | object_names, [INFO] [stdout] 121 | | attribute_names [INFO] [stdout] 122 | | } [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] 117 ~ Context { [INFO] [stdout] 118 + object_vectors, [INFO] [stdout] 119 + attribute_vectors, [INFO] [stdout] 120 + object_names, [INFO] [stdout] 121 + attribute_names [INFO] [stdout] 122 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/lib.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn transpose_vectors(vectors: &Vec, length: u64) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 59 - pub fn transpose_vectors(vectors: &Vec, length: u64) -> Vec{ [INFO] [stdout] 59 + pub fn transpose_vectors(vectors: &[BigUint], length: u64) -> Vec{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | object_names: &Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 85 ~ object_names: &[String], [INFO] [stdout] 86 | attribute_names: &Vec) -> Context{ [INFO] [stdout] 87 ~ let object_names: Vec = object_names.to_owned().iter().map(|s| s.to_string()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/lib.rs:86:42 [INFO] [stdout] | [INFO] [stdout] 86 | attribute_names: &Vec) -> Context{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 86 ~ attribute_names: &[String]) -> Context{ [INFO] [stdout] 87 | let object_names: Vec = object_names.clone().iter().map(|s| s.to_string()).collect(); [INFO] [stdout] 88 ~ let attribute_names: Vec = attribute_names.to_owned().iter().map(|s| s.to_string()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / return Context { [INFO] [stdout] 118 | | object_vectors, [INFO] [stdout] 119 | | attribute_vectors, [INFO] [stdout] 120 | | object_names, [INFO] [stdout] 121 | | attribute_names [INFO] [stdout] 122 | | } [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] 117 ~ Context { [INFO] [stdout] 118 + object_vectors, [INFO] [stdout] 119 + attribute_vectors, [INFO] [stdout] 120 + object_names, [INFO] [stdout] 121 + attribute_names [INFO] [stdout] 122 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:141:42 [INFO] [stdout] | [INFO] [stdout] 141 | .fold(BigUint::from(2u8).pow(self.object_count() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.object_count()` [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 (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | .fold(BigUint::from(2u8).pow(self.attribute_count() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.attribute_count()` [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 (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | .fold(BigUint::from(2u8).pow(self.attribute_count() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.attribute_count()` [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 (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:141:42 [INFO] [stdout] | [INFO] [stdout] 141 | .fold(BigUint::from(2u8).pow(self.object_count() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.object_count()` [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 (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | .fold(BigUint::from(2u8).pow(self.attribute_count() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.attribute_count()` [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: redundant closure [INFO] [stdout] --> src/lib.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | .map(|i| BigUint::from(i) )); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `BigUint::from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | .fold(BigUint::from(2u8).pow(self.attribute_count() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.attribute_count()` [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:203:42 [INFO] [stdout] | [INFO] [stdout] 203 | if is_of_scale_q(&self, &candidate) [INFO] [stdout] | ^^^^^ help: change this to: `self` [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: redundant closure [INFO] [stdout] --> src/lib.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | .map(|i| BigUint::from(i) )); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `BigUint::from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/lib.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | return true; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 227 - return true; [INFO] [stdout] 227 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:217:65 [INFO] [stdout] | [INFO] [stdout] 217 | let common_attributes: BigUint = self.object_derivation(&objects); [INFO] [stdout] | ^^^^^^^^ help: change this to: `objects` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/lib.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | return true; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 243 - return true; [INFO] [stdout] 243 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:203:42 [INFO] [stdout] | [INFO] [stdout] 203 | if is_of_scale_q(&self, &candidate) [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:232:65 [INFO] [stdout] | [INFO] [stdout] 232 | let common_attributes: BigUint = self.object_derivation(&objects); [INFO] [stdout] | ^^^^^^^^ help: change this to: `objects` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/lib.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | return true; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 227 - return true; [INFO] [stdout] 227 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:217:65 [INFO] [stdout] | [INFO] [stdout] 217 | let common_attributes: BigUint = self.object_derivation(&objects); [INFO] [stdout] | ^^^^^^^^ help: change this to: `objects` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/lib.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | return true; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 256 - return true; [INFO] [stdout] 256 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/lib.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | return true; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 243 - return true; [INFO] [stdout] 243 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:232:65 [INFO] [stdout] | [INFO] [stdout] 232 | let common_attributes: BigUint = self.object_derivation(&objects); [INFO] [stdout] | ^^^^^^^^ help: change this to: `objects` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/lib.rs:259:77 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn non_clarifiable_attributes_list(&self, masked_attribute_vectors: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 259 - pub fn non_clarifiable_attributes_list(&self, masked_attribute_vectors: &Vec) -> Vec { [INFO] [stdout] 259 + pub fn non_clarifiable_attributes_list(&self, masked_attribute_vectors: &[BigUint]) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/lib.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | !(0..*m as usize).any(|n| masked_attribute_vectors[n] == masked_attribute_vectors[*m]) ) [INFO] [stdout] | ^^^^^^^^^^^ help: try: `*m` [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: unneeded `return` statement [INFO] [stdout] --> src/lib.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | return true; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 256 - return true; [INFO] [stdout] 256 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/lib.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | return ir_attr_list; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 291 - return ir_attr_list; [INFO] [stdout] 291 + ir_attr_list [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you are using an explicit closure for copying elements [INFO] [stdout] --> src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | / nc_attr.iter().filter(|m|{ [INFO] [stdout] 279 | | masked_attribute_vectors[**m] != object_mask && [INFO] [stdout] 280 | | { [INFO] [stdout] 281 | | let common_objects_in_propper_upset = [INFO] [stdout] ... | [INFO] [stdout] 288 | | }) [INFO] [stdout] 289 | | .map(|m| m.clone()) [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stdout] = note: `#[warn(clippy::map_clone)]` on by default [INFO] [stdout] help: consider calling the dedicated `copied` method [INFO] [stdout] | [INFO] [stdout] 278 ~ nc_attr.iter().filter(|m|{ [INFO] [stdout] 279 + masked_attribute_vectors[**m] != object_mask && [INFO] [stdout] 280 + { [INFO] [stdout] 281 + let common_objects_in_propper_upset = [INFO] [stdout] 282 + nc_attr.iter().filter(|n| n != m [INFO] [stdout] 283 + && (&masked_attribute_vectors[**n] & &masked_attribute_vectors[**m]) == masked_attribute_vectors[**m]) [INFO] [stdout] 284 + .fold(object_mask.clone(),|n, o| n & &masked_attribute_vectors[*o]); [INFO] [stdout] 285 + (common_objects_in_propper_upset == object_mask) || [INFO] [stdout] 286 + (&common_objects_in_propper_upset & &masked_attribute_vectors[**m] < common_objects_in_propper_upset) [INFO] [stdout] 287 + } [INFO] [stdout] 288 + }).copied() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/lib.rs:259:77 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn non_clarifiable_attributes_list(&self, masked_attribute_vectors: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 259 - pub fn non_clarifiable_attributes_list(&self, masked_attribute_vectors: &Vec) -> Vec { [INFO] [stdout] 259 + pub fn non_clarifiable_attributes_list(&self, masked_attribute_vectors: &[BigUint]) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/lib.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | !(0..*m as usize).any(|n| masked_attribute_vectors[n] == masked_attribute_vectors[*m]) ) [INFO] [stdout] | ^^^^^^^^^^^ help: try: `*m` [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: unneeded `return` statement [INFO] [stdout] --> src/lib.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | return ir_attr_list; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 291 - return ir_attr_list; [INFO] [stdout] 291 + ir_attr_list [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you are using an explicit closure for copying elements [INFO] [stdout] --> src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | / nc_attr.iter().filter(|m|{ [INFO] [stdout] 279 | | masked_attribute_vectors[**m] != object_mask && [INFO] [stdout] 280 | | { [INFO] [stdout] 281 | | let common_objects_in_propper_upset = [INFO] [stdout] ... | [INFO] [stdout] 288 | | }) [INFO] [stdout] 289 | | .map(|m| m.clone()) [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stdout] = note: `#[warn(clippy::map_clone)]` on by default [INFO] [stdout] help: consider calling the dedicated `copied` method [INFO] [stdout] | [INFO] [stdout] 278 ~ nc_attr.iter().filter(|m|{ [INFO] [stdout] 279 + masked_attribute_vectors[**m] != object_mask && [INFO] [stdout] 280 + { [INFO] [stdout] 281 + let common_objects_in_propper_upset = [INFO] [stdout] 282 + nc_attr.iter().filter(|n| n != m [INFO] [stdout] 283 + && (&masked_attribute_vectors[**n] & &masked_attribute_vectors[**m]) == masked_attribute_vectors[**m]) [INFO] [stdout] 284 + .fold(object_mask.clone(),|n, o| n & &masked_attribute_vectors[*o]); [INFO] [stdout] 285 + (common_objects_in_propper_upset == object_mask) || [INFO] [stdout] 286 + (&common_objects_in_propper_upset & &masked_attribute_vectors[**m] < common_objects_in_propper_upset) [INFO] [stdout] 287 + } [INFO] [stdout] 288 + }).copied() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> src/lib.rs:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | .map(|m| m.clone()) [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*m` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | if !((&m1_closure & &m2_closure) == BigUint::ZERO) || !((&m1_closure | &m2_closure) == ir_attr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((&m1_closure & &m2_closure) != BigUint::ZERO)` [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/lib.rs:327:63 [INFO] [stdout] | [INFO] [stdout] 327 | if !((&m1_closure & &m2_closure) == BigUint::ZERO) || !((&m1_closure | &m2_closure) == ir_attr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((&m1_closure | &m2_closure) != ir_attr)` [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/lib.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | if !(m1_chain == m2_chain) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(m1_chain != m2_chain)` [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/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | return true; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 358 - return true; [INFO] [stdout] 358 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> src/lib.rs:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | .map(|m| m.clone()) [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*m` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | if !((&m1_closure & &m2_closure) == BigUint::ZERO) || !((&m1_closure | &m2_closure) == ir_attr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((&m1_closure & &m2_closure) != BigUint::ZERO)` [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/lib.rs:327:63 [INFO] [stdout] | [INFO] [stdout] 327 | if !((&m1_closure & &m2_closure) == BigUint::ZERO) || !((&m1_closure | &m2_closure) == ir_attr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((&m1_closure | &m2_closure) != ir_attr)` [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/lib.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | if !(m1_chain == m2_chain) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(m1_chain != m2_chain)` [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/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | return true; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 358 - return true; [INFO] [stdout] 358 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:367:20 [INFO] [stdout] | [INFO] [stdout] 367 | if !((self.object_closure(&objects_1) & objects) == objects_1) {return false} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((self.object_closure(&objects_1) & objects) != objects_1)` [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/lib.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | return true; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 371 - return true; [INFO] [stdout] 371 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:367:20 [INFO] [stdout] | [INFO] [stdout] 367 | if !((self.object_closure(&objects_1) & objects) == objects_1) {return false} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((self.object_closure(&objects_1) & objects) != objects_1)` [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/lib.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | return true; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 371 - return true; [INFO] [stdout] 371 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nom` [INFO] [stdout] --> tests/test.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | let nom = Context{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | object_vectors: vec![BigUint::new(vec![0b1110 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | ... BigUint::new(vec![0b0111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | ... BigUint::new(vec![0b0110 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | attribute_vectors: vec![BigUint::new(vec![0b100 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | ... BigUint::new(vec![0b010 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | let object_vectors = vec![BigUint::new(vec![0b1110 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | ... BigUint::new(vec![0b0111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:23:49 [INFO] [stdout] | [INFO] [stdout] 23 | ... BigUint::new(vec![0b0110 as u32])]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | let attribute_vectors = vec![BigUint::new(vec![0b100 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:27:52 [INFO] [stdout] | [INFO] [stdout] 27 | ... BigUint::new(vec![0b010 as u32])]; [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | object_vectors: vec![BigUint::new(vec![0b1110 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | ... BigUint::new(vec![0b0111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | ... BigUint::new(vec![0b0110 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:51:51 [INFO] [stdout] | [INFO] [stdout] 51 | attribute_vectors: vec![BigUint::new(vec![0b100 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:52:51 [INFO] [stdout] | [INFO] [stdout] 52 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | ... BigUint::new(vec![0b010 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:71:48 [INFO] [stdout] | [INFO] [stdout] 71 | object_vectors: vec![BigUint::new(vec![0b1110 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | ... BigUint::new(vec![0b0111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 73 | ... BigUint::new(vec![0b0110 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | attribute_vectors: vec![BigUint::new(vec![0b100 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:77:51 [INFO] [stdout] | [INFO] [stdout] 77 | ... BigUint::new(vec![0b010 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(animals.object_derivation(&BigUint::from(0b011 as u32)), BigUint::from(0b0110 as u32)); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b011_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:81:87 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(animals.object_derivation(&BigUint::from(0b011 as u32)), BigUint::from(0b0110 as u32)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | object_vectors: vec![BigUint::new(vec![0b1110 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:88:48 [INFO] [stdout] | [INFO] [stdout] 88 | ... BigUint::new(vec![0b0111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:89:48 [INFO] [stdout] | [INFO] [stdout] 89 | ... BigUint::new(vec![0b0110 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | attribute_vectors: vec![BigUint::new(vec![0b100 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:92:51 [INFO] [stdout] | [INFO] [stdout] 92 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | ... BigUint::new(vec![0b010 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | let ext1 = BigUint::from(0b000 as u32); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b000_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | let ext2 = BigUint::from(0b100 as u32); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | let ext3 = BigUint::from(0b010 as u32); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | let ext4 = BigUint::from(0b111 as u32); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | let non_ext1 = BigUint::from(0b001 as u32); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b001_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | let non_ext2 = BigUint::from(0b110 as u32); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | let non_ext3 = BigUint::from(0b011 as u32); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b011_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | let non_ext4 = BigUint::from(0b101 as u32); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b101_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:143:48 [INFO] [stdout] | [INFO] [stdout] 143 | object_vectors: vec![BigUint::new(vec![0b1110 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:144:48 [INFO] [stdout] | [INFO] [stdout] 144 | ... BigUint::new(vec![0b0111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:145:48 [INFO] [stdout] | [INFO] [stdout] 145 | ... BigUint::new(vec![0b0110 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:146:51 [INFO] [stdout] | [INFO] [stdout] 146 | attribute_vectors: vec![BigUint::new(vec![0b100 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:147:51 [INFO] [stdout] | [INFO] [stdout] 147 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:149:51 [INFO] [stdout] | [INFO] [stdout] 149 | ... BigUint::new(vec![0b010 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | let ext1 = BigUint::from(0b0110 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | let ext2 = BigUint::from(0b1110 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let ext3 = BigUint::from(0b0111 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | let ext4 = BigUint::from(0b1111 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:174:34 [INFO] [stdout] | [INFO] [stdout] 174 | let non_ext1 = BigUint::from(0b0000 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0000_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | let non_ext2 = BigUint::from(0b1000 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1000_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | let non_ext3 = BigUint::from(0b0100 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | let non_ext4 = BigUint::from(0b0010 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:178:34 [INFO] [stdout] | [INFO] [stdout] 178 | let non_ext5 = BigUint::from(0b0001 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0001_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:199:39 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(vec![BigUint::new(vec![0b1110 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:200:48 [INFO] [stdout] | [INFO] [stdout] 200 | ... BigUint::new(vec![0b0111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:201:48 [INFO] [stdout] | [INFO] [stdout] 201 | ... BigUint::new(vec![0b0110 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:208:37 [INFO] [stdout] | [INFO] [stdout] 208 | let object_mask = BigUint::from(0b111 as u32); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:214:48 [INFO] [stdout] | [INFO] [stdout] 214 | object_vectors: vec![BigUint::new(vec![0b1111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:215:48 [INFO] [stdout] | [INFO] [stdout] 215 | ... BigUint::new(vec![0b0110 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:216:48 [INFO] [stdout] | [INFO] [stdout] 216 | ... BigUint::new(vec![0b0011 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0011_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:217:51 [INFO] [stdout] | [INFO] [stdout] 217 | attribute_vectors: vec![BigUint::new(vec![0b100 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:218:51 [INFO] [stdout] | [INFO] [stdout] 218 | ... BigUint::new(vec![0b110 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:219:51 [INFO] [stdout] | [INFO] [stdout] 219 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:220:51 [INFO] [stdout] | [INFO] [stdout] 220 | ... BigUint::new(vec![0b101 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b101_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:227:65 [INFO] [stdout] | [INFO] [stdout] 227 | assert_eq!(vec![0],ctx.irreducible_attributes(BigUint::from(0b110 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b110_u32` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 233 | &vec![BigUint::from(0b111000 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `0b111000_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:234:42 [INFO] [stdout] | [INFO] [stdout] 234 | ... BigUint::from(0b011100 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `0b011100_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:235:42 [INFO] [stdout] | [INFO] [stdout] 235 | ... BigUint::from(0b001110 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `0b001110_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:236:42 [INFO] [stdout] | [INFO] [stdout] 236 | ... BigUint::from(0b111111 as u64)], [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `0b111111_u64` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:238:71 [INFO] [stdout] | [INFO] [stdout] 238 | assert_eq!(vec![0,1,3,4],ctx.irreducible_attributes(BigUint::from(0b1110 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:244:48 [INFO] [stdout] | [INFO] [stdout] 244 | object_vectors: vec![BigUint::new(vec![0b1110 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:245:48 [INFO] [stdout] | [INFO] [stdout] 245 | ... BigUint::new(vec![0b0111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:246:48 [INFO] [stdout] | [INFO] [stdout] 246 | ... BigUint::new(vec![0b0110 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:247:51 [INFO] [stdout] | [INFO] [stdout] 247 | attribute_vectors: vec![BigUint::new(vec![0b100 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:248:51 [INFO] [stdout] | [INFO] [stdout] 248 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:249:51 [INFO] [stdout] | [INFO] [stdout] 249 | ... BigUint::new(vec![0b111 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:250:51 [INFO] [stdout] | [INFO] [stdout] 250 | ... BigUint::new(vec![0b010 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:254:56 [INFO] [stdout] | [INFO] [stdout] 254 | assert!(animals.is_of_nominal_scale(&BigUint::from(0b100 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:255:56 [INFO] [stdout] | [INFO] [stdout] 255 | assert!(animals.is_of_nominal_scale(&BigUint::from(0b001 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b001_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:256:56 [INFO] [stdout] | [INFO] [stdout] 256 | assert!(animals.is_of_nominal_scale(&BigUint::from(0b010 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:257:56 [INFO] [stdout] | [INFO] [stdout] 257 | assert!(animals.is_of_nominal_scale(&BigUint::from(0b110 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:259:57 [INFO] [stdout] | [INFO] [stdout] 259 | assert!(!animals.is_of_nominal_scale(&BigUint::from(0b111 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:260:57 [INFO] [stdout] | [INFO] [stdout] 260 | assert!(!animals.is_of_nominal_scale(&BigUint::from(0b011 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b011_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:261:57 [INFO] [stdout] | [INFO] [stdout] 261 | assert!(!animals.is_of_nominal_scale(&BigUint::from(0b101 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b101_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:264:48 [INFO] [stdout] | [INFO] [stdout] 264 | object_vectors: vec![BigUint::new(vec![0b100 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:265:48 [INFO] [stdout] | [INFO] [stdout] 265 | ... BigUint::new(vec![0b010 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:266:48 [INFO] [stdout] | [INFO] [stdout] 266 | ... BigUint::new(vec![0b001 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b001_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:267:51 [INFO] [stdout] | [INFO] [stdout] 267 | attribute_vectors: vec![BigUint::new(vec![0b100 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:268:51 [INFO] [stdout] | [INFO] [stdout] 268 | ... BigUint::new(vec![0b010 as u32]), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:269:51 [INFO] [stdout] | [INFO] [stdout] 269 | ... BigUint::new(vec![0b001 as u32])], [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b001_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:273:59 [INFO] [stdout] | [INFO] [stdout] 273 | assert!(!animals.is_of_nominal_p_scale(&BigUint::from(0b111 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:282:29 [INFO] [stdout] | [INFO] [stdout] 282 | &vec![BigUint::from(0b1000 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1000_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:283:42 [INFO] [stdout] | [INFO] [stdout] 283 | ... BigUint::from(0b1100 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1100_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:284:42 [INFO] [stdout] | [INFO] [stdout] 284 | ... BigUint::from(0b1110 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:285:42 [INFO] [stdout] | [INFO] [stdout] 285 | ... BigUint::from(0b0001 as u64)], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0001_u64` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:287:56 [INFO] [stdout] | [INFO] [stdout] 287 | assert!(animals.is_of_ordinal_scale(&BigUint::from(0b1000 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1000_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:288:56 [INFO] [stdout] | [INFO] [stdout] 288 | assert!(animals.is_of_ordinal_scale(&BigUint::from(0b1100 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:289:56 [INFO] [stdout] | [INFO] [stdout] 289 | assert!(animals.is_of_ordinal_scale(&BigUint::from(0b1010 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:290:56 [INFO] [stdout] | [INFO] [stdout] 290 | assert!(animals.is_of_ordinal_scale(&BigUint::from(0b1110 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:291:56 [INFO] [stdout] | [INFO] [stdout] 291 | assert!(animals.is_of_ordinal_scale(&BigUint::from(0b0110 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:293:57 [INFO] [stdout] | [INFO] [stdout] 293 | assert!(!animals.is_of_ordinal_scale(&BigUint::from(0b0011 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0011_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:294:57 [INFO] [stdout] | [INFO] [stdout] 294 | assert!(!animals.is_of_ordinal_scale(&BigUint::from(0b0101 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0101_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:295:57 [INFO] [stdout] | [INFO] [stdout] 295 | assert!(!animals.is_of_ordinal_scale(&BigUint::from(0b1001 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1001_u32` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | &vec![BigUint::from(0b1100 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1100_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:306:42 [INFO] [stdout] | [INFO] [stdout] 306 | ... BigUint::from(0b1010 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1010_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:307:42 [INFO] [stdout] | [INFO] [stdout] 307 | ... BigUint::from(0b0110 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:308:42 [INFO] [stdout] | [INFO] [stdout] 308 | ... BigUint::from(0b1111 as u64)], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1111_u64` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:310:62 [INFO] [stdout] | [INFO] [stdout] 310 | assert!(animals.is_of_contranominal_scale(&BigUint::from(0b1000 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1000_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:311:62 [INFO] [stdout] | [INFO] [stdout] 311 | assert!(animals.is_of_contranominal_scale(&BigUint::from(0b1100 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:312:62 [INFO] [stdout] | [INFO] [stdout] 312 | assert!(animals.is_of_contranominal_scale(&BigUint::from(0b1010 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:313:62 [INFO] [stdout] | [INFO] [stdout] 313 | assert!(animals.is_of_contranominal_scale(&BigUint::from(0b1110 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:314:62 [INFO] [stdout] | [INFO] [stdout] 314 | assert!(animals.is_of_contranominal_scale(&BigUint::from(0b0110 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:316:63 [INFO] [stdout] | [INFO] [stdout] 316 | assert!(!animals.is_of_contranominal_scale(&BigUint::from(0b0011 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0011_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:317:63 [INFO] [stdout] | [INFO] [stdout] 317 | assert!(!animals.is_of_contranominal_scale(&BigUint::from(0b0101 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b0101_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:318:63 [INFO] [stdout] | [INFO] [stdout] 318 | assert!(!animals.is_of_contranominal_scale(&BigUint::from(0b1001 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `0b1001_u32` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:328:29 [INFO] [stdout] | [INFO] [stdout] 328 | &vec![BigUint::from(0b111000 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `0b111000_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:329:42 [INFO] [stdout] | [INFO] [stdout] 329 | ... BigUint::from(0b011100 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `0b011100_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:330:42 [INFO] [stdout] | [INFO] [stdout] 330 | ... BigUint::from(0b001110 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `0b001110_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:331:42 [INFO] [stdout] | [INFO] [stdout] 331 | ... BigUint::from(0b111111 as u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `0b111111_u64` [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 integer literal to `u64` is unnecessary [INFO] [stdout] --> tests/test.rs:332:42 [INFO] [stdout] | [INFO] [stdout] 332 | ... BigUint::from(0b001100 as u64)], [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `0b001100_u64` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | assert!(ctx.is_of_interordinal_scale(&BigUint::from(0b11100 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `0b11100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:335:58 [INFO] [stdout] | [INFO] [stdout] 335 | assert!(!ctx.is_of_interordinal_scale(&BigUint::from(0b11010 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `0b11010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:336:58 [INFO] [stdout] | [INFO] [stdout] 336 | assert!(!ctx.is_of_interordinal_scale(&BigUint::from(0b11001 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `0b11001_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:348:56 [INFO] [stdout] | [INFO] [stdout] 348 | assert!(animals.is_of_nominal_scale(&BigUint::from(0b000 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b000_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:349:56 [INFO] [stdout] | [INFO] [stdout] 349 | assert!(animals.is_of_nominal_scale(&BigUint::from(0b100 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:350:56 [INFO] [stdout] | [INFO] [stdout] 350 | assert!(animals.is_of_nominal_scale(&BigUint::from(0b010 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:351:56 [INFO] [stdout] | [INFO] [stdout] 351 | assert!(animals.is_of_nominal_scale(&BigUint::from(0b001 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b001_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:352:56 [INFO] [stdout] | [INFO] [stdout] 352 | assert!(animals.is_of_nominal_scale(&BigUint::from(0b110 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:354:57 [INFO] [stdout] | [INFO] [stdout] 354 | assert!(!animals.is_of_nominal_scale(&BigUint::from(0b011 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b011_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:355:57 [INFO] [stdout] | [INFO] [stdout] 355 | assert!(!animals.is_of_nominal_scale(&BigUint::from(0b101 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b101_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:356:57 [INFO] [stdout] | [INFO] [stdout] 356 | assert!(!animals.is_of_nominal_scale(&BigUint::from(0b111 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `usize` is unnecessary [INFO] [stdout] --> tests/test.rs:358:16 [INFO] [stdout] | [INFO] [stdout] 358 | assert_eq!(5 as usize,nominal_motifs.len()); [INFO] [stdout] | ^^^^^^^^^^ help: try: `5_usize` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:361:56 [INFO] [stdout] | [INFO] [stdout] 361 | assert!(animals.is_of_ordinal_scale(&BigUint::from(0b000 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b000_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:362:56 [INFO] [stdout] | [INFO] [stdout] 362 | assert!(animals.is_of_ordinal_scale(&BigUint::from(0b100 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:363:56 [INFO] [stdout] | [INFO] [stdout] 363 | assert!(animals.is_of_ordinal_scale(&BigUint::from(0b010 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:364:56 [INFO] [stdout] | [INFO] [stdout] 364 | assert!(animals.is_of_ordinal_scale(&BigUint::from(0b001 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b001_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:365:56 [INFO] [stdout] | [INFO] [stdout] 365 | assert!(animals.is_of_ordinal_scale(&BigUint::from(0b011 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b011_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:366:56 [INFO] [stdout] | [INFO] [stdout] 366 | assert!(animals.is_of_ordinal_scale(&BigUint::from(0b101 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b101_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:368:57 [INFO] [stdout] | [INFO] [stdout] 368 | assert!(!animals.is_of_ordinal_scale(&BigUint::from(0b110 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b110_u32` [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.65s [INFO] [stdout] warning: casting integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:369:57 [INFO] [stdout] | [INFO] [stdout] 369 | assert!(!animals.is_of_ordinal_scale(&BigUint::from(0b111 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `usize` is unnecessary [INFO] [stdout] --> tests/test.rs:371:16 [INFO] [stdout] | [INFO] [stdout] 371 | assert_eq!(6 as usize,ordinal_complex.len()); [INFO] [stdout] | ^^^^^^^^^^ help: try: `6_usize` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:374:62 [INFO] [stdout] | [INFO] [stdout] 374 | assert!(animals.is_of_contranominal_scale(&BigUint::from(0b000 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b000_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:375:62 [INFO] [stdout] | [INFO] [stdout] 375 | assert!(animals.is_of_contranominal_scale(&BigUint::from(0b100 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b100_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:376:62 [INFO] [stdout] | [INFO] [stdout] 376 | assert!(animals.is_of_contranominal_scale(&BigUint::from(0b010 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b010_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:377:62 [INFO] [stdout] | [INFO] [stdout] 377 | assert!(animals.is_of_contranominal_scale(&BigUint::from(0b001 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b001_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:378:62 [INFO] [stdout] | [INFO] [stdout] 378 | assert!(animals.is_of_contranominal_scale(&BigUint::from(0b110 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b110_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:380:63 [INFO] [stdout] | [INFO] [stdout] 380 | assert!(!animals.is_of_contranominal_scale(&BigUint::from(0b011 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b011_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:381:63 [INFO] [stdout] | [INFO] [stdout] 381 | assert!(!animals.is_of_contranominal_scale(&BigUint::from(0b101 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b101_u32` [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 integer literal to `u32` is unnecessary [INFO] [stdout] --> tests/test.rs:382:63 [INFO] [stdout] | [INFO] [stdout] 382 | assert!(!animals.is_of_contranominal_scale(&BigUint::from(0b111 as u32))); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `0b111_u32` [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 integer literal to `usize` is unnecessary [INFO] [stdout] --> tests/test.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | assert_eq!(5 as usize,contranominal_complex.len()); [INFO] [stdout] | ^^^^^^^^^^ help: try: `5_usize` [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] running `Command { std: "docker" "inspect" "fdfd7d3c3abfe0ebaa35d23f73d5c5fff45d562334362c41db61b90265b15ce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdfd7d3c3abfe0ebaa35d23f73d5c5fff45d562334362c41db61b90265b15ce3", kill_on_drop: false }` [INFO] [stdout] fdfd7d3c3abfe0ebaa35d23f73d5c5fff45d562334362c41db61b90265b15ce3