[INFO] fetching crate nbits_vec 0.1.1... [INFO] checking nbits_vec-0.1.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate nbits_vec 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate nbits_vec 0.1.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nbits_vec 0.1.1 [INFO] finished tweaking crates.io crate nbits_vec 0.1.1 [INFO] tweaked toml for crates.io crate nbits_vec 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding clippy v0.0.33 (available: v0.0.302) [INFO] [stderr] Adding num v0.1.42 (available: v0.4.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clippy v0.0.33 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac11ed245fd1deb9fc545ced02ebf6c38aad6100bb8557507f53aab43e2d9de4 [INFO] running `Command { std: "docker" "start" "-a" "ac11ed245fd1deb9fc545ced02ebf6c38aad6100bb8557507f53aab43e2d9de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac11ed245fd1deb9fc545ced02ebf6c38aad6100bb8557507f53aab43e2d9de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac11ed245fd1deb9fc545ced02ebf6c38aad6100bb8557507f53aab43e2d9de4", kill_on_drop: false }` [INFO] [stdout] ac11ed245fd1deb9fc545ced02ebf6c38aad6100bb8557507f53aab43e2d9de4 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d9d2737997b9721f6aa439e1e7670d21422b8de1fc93246f2febb0fd9c1ca89 [INFO] running `Command { std: "docker" "start" "-a" "1d9d2737997b9721f6aa439e1e7670d21422b8de1fc93246f2febb0fd9c1ca89", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking nbits_vec v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0603]: module `raw_vec` is private [INFO] [stdout] --> src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `raw_vec` is defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/lib.rs:219:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | if self.len() > len { [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:406:17 [INFO] [stdout] | [INFO] [stdout] 406 | if self.is_empty() { [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::is_empty` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::is_empty` [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:451:17 [INFO] [stdout] | [INFO] [stdout] 451 | if self.is_empty() { [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::is_empty` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::is_empty` [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:487:31 [INFO] [stdout] | [INFO] [stdout] 487 | let other_len = other.len(); [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:524:14 [INFO] [stdout] | [INFO] [stdout] 524 | self.len() * Self::nbits() [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | self.raw_cap() * Self::block_bits() [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::raw_cap` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::raw_cap` [INFO] [stdout] ... [INFO] [stdout] 1139 | fn raw_cap(&self) -> usize { [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:560:14 [INFO] [stdout] | [INFO] [stdout] 560 | self.len() == 0 [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:579:24 [INFO] [stdout] | [INFO] [stdout] 579 | let len = self.len(); [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:608:42 [INFO] [stdout] | [INFO] [stdout] 608 | let ret = Some(self.get(self.len() - 1)); [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:634:24 [INFO] [stdout] | [INFO] [stdout] 634 | let len = self.len(); [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:707:36 [INFO] [stdout] | [INFO] [stdout] 707 | for from in from..self.len() { [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:862:26 [INFO] [stdout] | [INFO] [stdout] 862 | if loc.0 >= self.raw_cap() { [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::raw_cap` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::raw_cap` [INFO] [stdout] ... [INFO] [stdout] 1139 | fn raw_cap(&self) -> usize { [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `*const _` [INFO] [stdout] --> src/lib.rs:984:17 [INFO] [stdout] | [INFO] [stdout] 984 | let ptr = self.raw_ptr().offset(bi as isize); [INFO] [stdout] | ^^^ ---- ------- required by a bound introduced by this call [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::raw_ptr` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::raw_ptr` [INFO] [stdout] ... [INFO] [stdout] 1091 | pub fn raw_ptr(&self) -> *const Block { [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] help: consider giving `ptr` an explicit type, where the type for type parameter `Block` is specified [INFO] [stdout] | [INFO] [stdout] 984 | let ptr: *const T = self.raw_ptr().offset(bi as isize); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1039:26 [INFO] [stdout] | [INFO] [stdout] 1039 | if loc.0 >= self.raw_cap() { [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::raw_cap` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::raw_cap` [INFO] [stdout] ... [INFO] [stdout] 1139 | fn raw_cap(&self) -> usize { [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1080:14 [INFO] [stdout] | [INFO] [stdout] 1080 | self.get_raw_bits(pos, 1) == Block::one() [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::get_raw_bits` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::get_raw_bits` [INFO] [stdout] ... [INFO] [stdout] 1035 | pub unsafe fn get_raw_bits(&self, pos: usize, length: usize) -> Block { [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1129:38 [INFO] [stdout] | [INFO] [stdout] 1129 | let loc = Self::bit_loc(self.bits()); [INFO] [stdout] | ^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::bits` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::bits` [INFO] [stdout] ... [INFO] [stdout] 523 | pub fn bits(&self) -> usize { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1261:25 [INFO] [stdout] | [INFO] [stdout] 1261 | Hash::hash(self.as_raw_slice(), state); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] ... [INFO] [stdout] 1097 | pub fn as_raw_slice(&self) -> &[Block] { [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `raw_vec` is private [INFO] [stdout] --> src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `raw_vec` is defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/lib.rs:219:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1268:14 [INFO] [stdout] | [INFO] [stdout] 1268 | self.len() == other.len() && self.as_raw_slice() == other.as_raw_slice() [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1272:14 [INFO] [stdout] | [INFO] [stdout] 1272 | self.len() != other.len() || self.as_raw_slice() == other.as_raw_slice() [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1291:9 [INFO] [stdout] | [INFO] [stdout] 1291 | PartialOrd::partial_cmp(self.as_raw_slice(), other.as_raw_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- ------------ required by a bound introduced by this call [INFO] [stdout] | | | [INFO] [stdout] | | type must be known at this point [INFO] [stdout] | cannot infer type of the type parameter `Rhs` declared on the trait `PartialOrd` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] ... [INFO] [stdout] 1097 | pub fn as_raw_slice(&self) -> &[Block] { [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 1291 | PartialOrd::<[T]>::partial_cmp(self.as_raw_slice(), other.as_raw_slice()) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1297:23 [INFO] [stdout] | [INFO] [stdout] 1297 | Ord::cmp(self.as_raw_slice(), other.as_raw_slice()) [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] ... [INFO] [stdout] 1097 | pub fn as_raw_slice(&self) -> &[Block] { [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nbits_vec` (lib) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | if self.len() > len { [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:406:17 [INFO] [stdout] | [INFO] [stdout] 406 | if self.is_empty() { [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::is_empty` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::is_empty` [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:451:17 [INFO] [stdout] | [INFO] [stdout] 451 | if self.is_empty() { [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::is_empty` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::is_empty` [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:487:31 [INFO] [stdout] | [INFO] [stdout] 487 | let other_len = other.len(); [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:524:14 [INFO] [stdout] | [INFO] [stdout] 524 | self.len() * Self::nbits() [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | self.raw_cap() * Self::block_bits() [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::raw_cap` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::raw_cap` [INFO] [stdout] ... [INFO] [stdout] 1139 | fn raw_cap(&self) -> usize { [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:560:14 [INFO] [stdout] | [INFO] [stdout] 560 | self.len() == 0 [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:579:24 [INFO] [stdout] | [INFO] [stdout] 579 | let len = self.len(); [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:608:42 [INFO] [stdout] | [INFO] [stdout] 608 | let ret = Some(self.get(self.len() - 1)); [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:634:24 [INFO] [stdout] | [INFO] [stdout] 634 | let len = self.len(); [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:707:36 [INFO] [stdout] | [INFO] [stdout] 707 | for from in from..self.len() { [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:862:26 [INFO] [stdout] | [INFO] [stdout] 862 | if loc.0 >= self.raw_cap() { [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::raw_cap` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::raw_cap` [INFO] [stdout] ... [INFO] [stdout] 1139 | fn raw_cap(&self) -> usize { [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `*const _` [INFO] [stdout] --> src/lib.rs:984:17 [INFO] [stdout] | [INFO] [stdout] 984 | let ptr = self.raw_ptr().offset(bi as isize); [INFO] [stdout] | ^^^ ---- ------- required by a bound introduced by this call [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::raw_ptr` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::raw_ptr` [INFO] [stdout] ... [INFO] [stdout] 1091 | pub fn raw_ptr(&self) -> *const Block { [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] help: consider giving `ptr` an explicit type, where the type for type parameter `Block` is specified [INFO] [stdout] | [INFO] [stdout] 984 | let ptr: *const T = self.raw_ptr().offset(bi as isize); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1039:26 [INFO] [stdout] | [INFO] [stdout] 1039 | if loc.0 >= self.raw_cap() { [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::raw_cap` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::raw_cap` [INFO] [stdout] ... [INFO] [stdout] 1139 | fn raw_cap(&self) -> usize { [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1080:14 [INFO] [stdout] | [INFO] [stdout] 1080 | self.get_raw_bits(pos, 1) == Block::one() [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::get_raw_bits` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::get_raw_bits` [INFO] [stdout] ... [INFO] [stdout] 1035 | pub unsafe fn get_raw_bits(&self, pos: usize, length: usize) -> Block { [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1129:38 [INFO] [stdout] | [INFO] [stdout] 1129 | let loc = Self::bit_loc(self.bits()); [INFO] [stdout] | ^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::bits` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::bits` [INFO] [stdout] ... [INFO] [stdout] 523 | pub fn bits(&self) -> usize { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1261:25 [INFO] [stdout] | [INFO] [stdout] 1261 | Hash::hash(self.as_raw_slice(), state); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] ... [INFO] [stdout] 1097 | pub fn as_raw_slice(&self) -> &[Block] { [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1268:14 [INFO] [stdout] | [INFO] [stdout] 1268 | self.len() == other.len() && self.as_raw_slice() == other.as_raw_slice() [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1272:14 [INFO] [stdout] | [INFO] [stdout] 1272 | self.len() != other.len() || self.as_raw_slice() == other.as_raw_slice() [INFO] [stdout] | ^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1291:9 [INFO] [stdout] | [INFO] [stdout] 1291 | PartialOrd::partial_cmp(self.as_raw_slice(), other.as_raw_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- ------------ required by a bound introduced by this call [INFO] [stdout] | | | [INFO] [stdout] | | type must be known at this point [INFO] [stdout] | cannot infer type of the type parameter `Rhs` declared on the trait `PartialOrd` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] ... [INFO] [stdout] 1097 | pub fn as_raw_slice(&self) -> &[Block] { [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 1291 | PartialOrd::<[T]>::partial_cmp(self.as_raw_slice(), other.as_raw_slice()) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1297:23 [INFO] [stdout] | [INFO] [stdout] 1297 | Ord::cmp(self.as_raw_slice(), other.as_raw_slice()) [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `Block` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::as_raw_slice` [INFO] [stdout] ... [INFO] [stdout] 1097 | pub fn as_raw_slice(&self) -> &[Block] { [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:55:56 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(vec.get_raw_bit(i), true); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_test! { [INFO] [stdout] 236 | | (n1 N1 => u8 u16 u32 u64 usize) [INFO] [stdout] 237 | | (n2 N2 => u8 u16 u32 u64 usize) [INFO] [stdout] 238 | | (n3 N3 => u8 u16 u32 u64 usize) [INFO] [stdout] 239 | | (n4 N4 => u8 u16 u32 u64 usize) [INFO] [stdout] 240 | | (n8 N8 => u8 u16 u32 u64 usize) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::get_raw_bit` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::get_raw_bit` [INFO] [stdout] ... [INFO] [stdout] 1079 | pub unsafe fn get_raw_bit(&self, pos: usize) -> bool { [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the macro `generate_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | vec.get_raw_bits(i, n); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_test! { [INFO] [stdout] 236 | | (n1 N1 => u8 u16 u32 u64 usize) [INFO] [stdout] 237 | | (n2 N2 => u8 u16 u32 u64 usize) [INFO] [stdout] 238 | | (n3 N3 => u8 u16 u32 u64 usize) [INFO] [stdout] 239 | | (n4 N4 => u8 u16 u32 u64 usize) [INFO] [stdout] 240 | | (n8 N8 => u8 u16 u32 u64 usize) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::get_raw_bits` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::get_raw_bits` [INFO] [stdout] ... [INFO] [stdout] 1035 | pub unsafe fn get_raw_bits(&self, pos: usize, length: usize) -> Block { [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] = note: this error originates in the macro `generate_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | vec.get_raw_bits(1, 1); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_test! { [INFO] [stdout] 236 | | (n1 N1 => u8 u16 u32 u64 usize) [INFO] [stdout] 237 | | (n2 N2 => u8 u16 u32 u64 usize) [INFO] [stdout] 238 | | (n3 N3 => u8 u16 u32 u64 usize) [INFO] [stdout] 239 | | (n4 N4 => u8 u16 u32 u64 usize) [INFO] [stdout] 240 | | (n8 N8 => u8 u16 u32 u64 usize) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::get_raw_bits` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::get_raw_bits` [INFO] [stdout] ... [INFO] [stdout] 1035 | pub unsafe fn get_raw_bits(&self, pos: usize, length: usize) -> Block { [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] = note: this error originates in the macro `generate_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | assert_eq!(vec.capacity(), 0); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_test! { [INFO] [stdout] 236 | | (n1 N1 => u8 u16 u32 u64 usize) [INFO] [stdout] 237 | | (n2 N2 => u8 u16 u32 u64 usize) [INFO] [stdout] 238 | | (n3 N3 => u8 u16 u32 u64 usize) [INFO] [stdout] 239 | | (n4 N4 => u8 u16 u32 u64 usize) [INFO] [stdout] 240 | | (n8 N8 => u8 u16 u32 u64 usize) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::capacity` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::capacity` [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn capacity(&self) -> usize { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the macro `generate_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | assert!(vec.capacity() >= 1); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_test! { [INFO] [stdout] 236 | | (n1 N1 => u8 u16 u32 u64 usize) [INFO] [stdout] 237 | | (n2 N2 => u8 u16 u32 u64 usize) [INFO] [stdout] 238 | | (n3 N3 => u8 u16 u32 u64 usize) [INFO] [stdout] 239 | | (n4 N4 => u8 u16 u32 u64 usize) [INFO] [stdout] 240 | | (n8 N8 => u8 u16 u32 u64 usize) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::capacity` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::capacity` [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn capacity(&self) -> usize { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the macro `generate_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:136:48 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(vec.len(), 100); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_test! { [INFO] [stdout] 236 | | (n1 N1 => u8 u16 u32 u64 usize) [INFO] [stdout] 237 | | (n2 N2 => u8 u16 u32 u64 usize) [INFO] [stdout] 238 | | (n3 N3 => u8 u16 u32 u64 usize) [INFO] [stdout] 239 | | (n4 N4 => u8 u16 u32 u64 usize) [INFO] [stdout] 240 | | (n8 N8 => u8 u16 u32 u64 usize) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the macro `generate_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 160 | let v = vec.get(i); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_test! { [INFO] [stdout] 236 | | (n1 N1 => u8 u16 u32 u64 usize) [INFO] [stdout] 237 | | (n2 N2 => u8 u16 u32 u64 usize) [INFO] [stdout] 238 | | (n3 N3 => u8 u16 u32 u64 usize) [INFO] [stdout] 239 | | (n4 N4 => u8 u16 u32 u64 usize) [INFO] [stdout] 240 | | (n8 N8 => u8 u16 u32 u64 usize) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::get` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::get` [INFO] [stdout] ... [INFO] [stdout] 973 | pub fn get(&self, index: usize) -> Block { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the macro `generate_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:171:56 [INFO] [stdout] | [INFO] [stdout] 171 | assert_eq!(vec.get(j), 0b111001 >> (i / 100) & NV::mask()); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_test! { [INFO] [stdout] 236 | | (n1 N1 => u8 u16 u32 u64 usize) [INFO] [stdout] 237 | | (n2 N2 => u8 u16 u32 u64 usize) [INFO] [stdout] 238 | | (n3 N3 => u8 u16 u32 u64 usize) [INFO] [stdout] 239 | | (n4 N4 => u8 u16 u32 u64 usize) [INFO] [stdout] 240 | | (n8 N8 => u8 u16 u32 u64 usize) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::get` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::get` [INFO] [stdout] ... [INFO] [stdout] 973 | pub fn get(&self, index: usize) -> Block { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the macro `generate_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:180:49 [INFO] [stdout] | [INFO] [stdout] 180 | let l = vec.len(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_test! { [INFO] [stdout] 236 | | (n1 N1 => u8 u16 u32 u64 usize) [INFO] [stdout] 237 | | (n2 N2 => u8 u16 u32 u64 usize) [INFO] [stdout] 238 | | (n3 N3 => u8 u16 u32 u64 usize) [INFO] [stdout] 239 | | (n4 N4 => u8 u16 u32 u64 usize) [INFO] [stdout] 240 | | (n8 N8 => u8 u16 u32 u64 usize) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::len` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::len` [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the macro `generate_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:224:70 [INFO] [stdout] | [INFO] [stdout] 224 | println!("{} capacity: {}", i, j.capacity()); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_test! { [INFO] [stdout] 236 | | (n1 N1 => u8 u16 u32 u64 usize) [INFO] [stdout] 237 | | (n2 N2 => u8 u16 u32 u64 usize) [INFO] [stdout] 238 | | (n3 N3 => u8 u16 u32 u64 usize) [INFO] [stdout] 239 | | (n4 N4 => u8 u16 u32 u64 usize) [INFO] [stdout] 240 | | (n8 N8 => u8 u16 u32 u64 usize) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: PrimInt` [INFO] [stdout] = help: the following types implement trait `PrimInt`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `NbitsVec::::capacity` [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | impl NbitsVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `NbitsVec::::capacity` [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn capacity(&self) -> usize { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the macro `generate_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nbits_vec` (lib test) due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "1d9d2737997b9721f6aa439e1e7670d21422b8de1fc93246f2febb0fd9c1ca89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d9d2737997b9721f6aa439e1e7670d21422b8de1fc93246f2febb0fd9c1ca89", kill_on_drop: false }` [INFO] [stdout] 1d9d2737997b9721f6aa439e1e7670d21422b8de1fc93246f2febb0fd9c1ca89