[INFO] fetching crate bitvec 1.0.1... [INFO] checking bitvec-1.0.1 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate bitvec 1.0.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate bitvec 1.0.1 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitvec 1.0.1 [INFO] finished tweaking crates.io crate bitvec 1.0.1 [INFO] tweaked toml for crates.io crate bitvec 1.0.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate bitvec 1.0.1 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ebca0b6ff481ad1b56e925ba8a543b5a8fad1970d9aecf55f46d4d0eecb9244 [INFO] running `Command { std: "docker" "start" "-a" "4ebca0b6ff481ad1b56e925ba8a543b5a8fad1970d9aecf55f46d4d0eecb9244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ebca0b6ff481ad1b56e925ba8a543b5a8fad1970d9aecf55f46d4d0eecb9244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ebca0b6ff481ad1b56e925ba8a543b5a8fad1970d9aecf55f46d4d0eecb9244", kill_on_drop: false }` [INFO] [stdout] 4ebca0b6ff481ad1b56e925ba8a543b5a8fad1970d9aecf55f46d4d0eecb9244 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4ed61a4c1d0472f11dfbf933a71c14ebfce607e2f420931b314f1935bf475a0 [INFO] running `Command { std: "docker" "start" "-a" "d4ed61a4c1d0472f11dfbf933a71c14ebfce607e2f420931b314f1935bf475a0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling semver v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Compiling serde_test v1.0.136 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking wyz v0.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bitvec v1.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Fixed src/ptr.rs (13 fixes) [INFO] [stderr] Fixed src/vec/iter.rs (2 fixes) [INFO] [stderr] Fixed src/vec.rs (2 fixes) [INFO] [stderr] Fixed src/ptr/addr.rs (2 fixes) [INFO] [stderr] Fixed src/slice/traits.rs (3 fixes) [INFO] [stderr] Fixed src/slice/specialization/lsb0.rs (1 fix) [INFO] [stderr] Fixed src/ptr/range.rs (1 fix) [INFO] [stderr] Fixed src/slice.rs (13 fixes) [INFO] [stderr] Fixed src/field.rs (1 fix) [INFO] [stderr] Fixed src/slice/specialization/msb0.rs (1 fix) [INFO] [stderr] Fixed src/macros/internal.rs (66 fixes) [INFO] [stderr] Fixed src/ptr/proxy.rs (1 fix) [INFO] [stderr] Fixed src/vec/api.rs (2 fixes) [INFO] [stderr] Fixed src/slice/api.rs (12 fixes) [INFO] [stderr] Fixed src/ptr/single.rs (22 fixes) [INFO] [stderr] Fixed src/macros.rs (59 fixes) [INFO] [stderr] Fixed src/ptr/span.rs (6 fixes) [INFO] [stderr] Migrating benches/eq.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/iter.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/memcpy.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/mut_access.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/slice.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/macros.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/macros.rs:180:3 [INFO] [stdout] | [INFO] [stdout] 180 | DATA.get_unchecked_mut(.. $len) [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe { bits!(static mut u32, Lsb0; 1; 20) }; [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/macros.rs:206:3 [INFO] [stdout] | [INFO] [stdout] 206 | DATA.get_unchecked_mut(.. $len) [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | let _: &'static mut BitSlice = unsafe { bits!(static mut 1; 20) }; [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/macros.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | DATA.get_unchecked_mut(.. BITS) [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe { bits!(static mut Cell, Msb0; 1, 0, 1, 1, 0) }; [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/macros.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | DATA.get_unchecked_mut(.. BITS) [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { bits!(static mut Cell, Msb0; 1, 0, 1, 1, 0) }; [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/macros.rs:200:3 [INFO] [stdout] | [INFO] [stdout] 200 | DATA.get_unchecked_mut(.. BITS) [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | let _: &'static mut BitSlice = unsafe { bits!(static mut 1, 0, 1, 1, 0) }; [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::bits` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking bitvec v1.0.1 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:62:2 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(c[.. 5], bits![1, 0, 1, 1, 0]); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:67:2 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(d[.. 5], bits![1, 0, 1, 1, 0]); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | (Cell<$store:ident>, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 116 | | use $crate::macros::internal::core; [INFO] [stdout] 117 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 123 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 124 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 309 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 284 | let _: BitVec, Lsb0> = bitvec![Cell, Lsb0; 1, 0, 1]; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | (Cell<$store:ident>, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 116 | | use $crate::macros::internal::core; [INFO] [stdout] 117 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 123 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 124 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 309 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:299:35 [INFO] [stdout] | [INFO] [stdout] 299 | let _: BitVec, Lsb0> = bitvec![Cell, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | (Cell<$store:ident>, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 116 | | use $crate::macros::internal::core; [INFO] [stdout] 117 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 123 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 124 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 309 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:311:35 [INFO] [stdout] | [INFO] [stdout] 311 | let _: BitVec, Lsb0> = bitvec![Cell, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | (Cell<$store:ident>, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 116 | | use $crate::macros::internal::core; [INFO] [stdout] 117 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 123 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 124 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 309 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:323:37 [INFO] [stdout] | [INFO] [stdout] 323 | let _: BitVec, Lsb0> = bitvec![Cell, Lsb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | (Cell<$store:ident>, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 116 | | use $crate::macros::internal::core; [INFO] [stdout] 117 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 123 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 124 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 309 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:337:36 [INFO] [stdout] | [INFO] [stdout] 337 | let _: BitVec, Lsb0> = bitvec![Cell, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:125:67 [INFO] [stdout] | [INFO] [stdout] 125 | (Cell<$store:ident>, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 126 | | use $crate::macros::internal::core; [INFO] [stdout] 127 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 132 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 133 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 318 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:287:3 [INFO] [stdout] | [INFO] [stdout] 287 | bitvec![Cell, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:125:67 [INFO] [stdout] | [INFO] [stdout] 125 | (Cell<$store:ident>, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 126 | | use $crate::macros::internal::core; [INFO] [stdout] 127 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 132 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 133 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 318 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:302:3 [INFO] [stdout] | [INFO] [stdout] 302 | bitvec![Cell, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:125:67 [INFO] [stdout] | [INFO] [stdout] 125 | (Cell<$store:ident>, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 126 | | use $crate::macros::internal::core; [INFO] [stdout] 127 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 132 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 133 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 318 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:314:3 [INFO] [stdout] | [INFO] [stdout] 314 | bitvec![Cell, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:125:67 [INFO] [stdout] | [INFO] [stdout] 125 | (Cell<$store:ident>, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 126 | | use $crate::macros::internal::core; [INFO] [stdout] 127 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 132 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 133 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 318 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:326:3 [INFO] [stdout] | [INFO] [stdout] 326 | bitvec![Cell, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:125:67 [INFO] [stdout] | [INFO] [stdout] 125 | (Cell<$store:ident>, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 126 | | use $crate::macros::internal::core; [INFO] [stdout] 127 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 132 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 133 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 318 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:340:4 [INFO] [stdout] | [INFO] [stdout] 340 | bitvec![Cell, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | let _: BitVec = bitvec![u8, Lsb0; 1, 0, 1]; [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:296:31 [INFO] [stdout] | [INFO] [stdout] 296 | let _: BitVec = bitvec![1, 0, 1]; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:300:29 [INFO] [stdout] | [INFO] [stdout] 300 | let _: BitVec = bitvec![u16, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:312:29 [INFO] [stdout] | [INFO] [stdout] 312 | let _: BitVec = bitvec![u32, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | let _: BitVec = bitvec![usize, Lsb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:338:30 [INFO] [stdout] | [INFO] [stdout] 338 | let _: BitVec = bitvec![u64, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:351:40 [INFO] [stdout] | [INFO] [stdout] 351 | let _: BitVec =bitvec![AtomicU8, LocalBits; 0, 1]; [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:352:35 [INFO] [stdout] | [INFO] [stdout] 352 | let _: BitVec =bitvec![AtomicU8, Lsb0; 0, 1]; [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:353:35 [INFO] [stdout] | [INFO] [stdout] 353 | let _: BitVec =bitvec![AtomicU8, Msb0; 0, 1]; [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:359:41 [INFO] [stdout] | [INFO] [stdout] 359 | let _: BitVec =bitvec![AtomicU16, LocalBits; 0, 1]; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:360:36 [INFO] [stdout] | [INFO] [stdout] 360 | let _: BitVec =bitvec![AtomicU16, Lsb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:361:36 [INFO] [stdout] | [INFO] [stdout] 361 | let _: BitVec =bitvec![AtomicU16, Msb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:367:41 [INFO] [stdout] | [INFO] [stdout] 367 | let _: BitVec =bitvec![AtomicU32, LocalBits; 0, 1]; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:368:36 [INFO] [stdout] | [INFO] [stdout] 368 | let _: BitVec =bitvec![AtomicU32, Lsb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:369:36 [INFO] [stdout] | [INFO] [stdout] 369 | let _: BitVec =bitvec![AtomicU32, Msb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:375:43 [INFO] [stdout] | [INFO] [stdout] 375 | let _: BitVec =bitvec![AtomicUsize, LocalBits; 0, 1]; [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:376:38 [INFO] [stdout] | [INFO] [stdout] 376 | let _: BitVec =bitvec![AtomicUsize, Lsb0; 0, 1]; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:377:38 [INFO] [stdout] | [INFO] [stdout] 377 | let _: BitVec =bitvec![AtomicUsize, Msb0; 0, 1]; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:386:41 [INFO] [stdout] | [INFO] [stdout] 386 | let _: BitVec =bitvec![AtomicU64, LocalBits; 0, 1]; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:387:36 [INFO] [stdout] | [INFO] [stdout] 387 | let _: BitVec =bitvec![AtomicU64, Lsb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:388:36 [INFO] [stdout] | [INFO] [stdout] 388 | let _: BitVec =bitvec![AtomicU64, Msb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | ($store:ident, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 142 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 143 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 322 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:288:28 [INFO] [stdout] | [INFO] [stdout] 288 | let _: BitVec = bitvec![u8, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | ($store:ident, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 142 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 143 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 322 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:303:29 [INFO] [stdout] | [INFO] [stdout] 303 | let _: BitVec = bitvec![u16, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | ($store:ident, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 142 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 143 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 322 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:315:29 [INFO] [stdout] | [INFO] [stdout] 315 | let _: BitVec = bitvec![u32, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | ($store:ident, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 142 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 143 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 322 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 327 | let _: BitVec = bitvec![usize, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | ($store:ident, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 142 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 143 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 322 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | let _: BitVec = bitvec![u64, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | (Cell<$store:ident>, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 116 | | use $crate::macros::internal::core; [INFO] [stdout] 117 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 123 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 124 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 309 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:399:34 [INFO] [stdout] | [INFO] [stdout] 399 | let _: BitBox, Lsb0> = bitbox![Cell, Lsb0; 1, 0, 1]; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | (Cell<$store:ident>, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 116 | | use $crate::macros::internal::core; [INFO] [stdout] 117 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 123 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 124 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 309 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:414:35 [INFO] [stdout] | [INFO] [stdout] 414 | let _: BitBox, Lsb0> = bitbox![Cell, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | (Cell<$store:ident>, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 116 | | use $crate::macros::internal::core; [INFO] [stdout] 117 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 123 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 124 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 309 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:426:35 [INFO] [stdout] | [INFO] [stdout] 426 | let _: BitBox, Lsb0> = bitbox![Cell, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | (Cell<$store:ident>, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 116 | | use $crate::macros::internal::core; [INFO] [stdout] 117 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 123 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 124 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 309 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:438:37 [INFO] [stdout] | [INFO] [stdout] 438 | let _: BitBox, Lsb0> = bitbox![Cell, Lsb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | (Cell<$store:ident>, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 116 | | use $crate::macros::internal::core; [INFO] [stdout] 117 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 123 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 124 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 309 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:452:36 [INFO] [stdout] | [INFO] [stdout] 452 | let _: BitBox, Lsb0> = bitbox![Cell, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:125:67 [INFO] [stdout] | [INFO] [stdout] 125 | (Cell<$store:ident>, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 126 | | use $crate::macros::internal::core; [INFO] [stdout] 127 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 132 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 133 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 318 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:402:3 [INFO] [stdout] | [INFO] [stdout] 402 | bitbox![Cell, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:125:67 [INFO] [stdout] | [INFO] [stdout] 125 | (Cell<$store:ident>, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 126 | | use $crate::macros::internal::core; [INFO] [stdout] 127 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 132 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 133 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 318 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:417:3 [INFO] [stdout] | [INFO] [stdout] 417 | bitbox![Cell, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:125:67 [INFO] [stdout] | [INFO] [stdout] 125 | (Cell<$store:ident>, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 126 | | use $crate::macros::internal::core; [INFO] [stdout] 127 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 132 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 133 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 318 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:429:3 [INFO] [stdout] | [INFO] [stdout] 429 | bitbox![Cell, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:125:67 [INFO] [stdout] | [INFO] [stdout] 125 | (Cell<$store:ident>, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 126 | | use $crate::macros::internal::core; [INFO] [stdout] 127 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 132 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 133 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 318 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:441:3 [INFO] [stdout] | [INFO] [stdout] 441 | bitbox![Cell, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:125:67 [INFO] [stdout] | [INFO] [stdout] 125 | (Cell<$store:ident>, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 126 | | use $crate::macros::internal::core; [INFO] [stdout] 127 | | type Celled = core::cell::Cell<$store>; [INFO] [stdout] ... | [INFO] [stdout] 132 | | This::new($crate::__encode_bits!(Cell<$store>, $order; $($val),*)) [INFO] [stdout] 133 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 318 | &$crate::bitarr!(Cell<$store>, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 346 | $crate::vec::BitVec::from_bitslice($crate::bits!(Cell<$store>, $order $($rest)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:455:4 [INFO] [stdout] | [INFO] [stdout] 455 | bitbox![Cell, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:400:28 [INFO] [stdout] | [INFO] [stdout] 400 | let _: BitBox = bitbox![u8, Lsb0; 1, 0, 1]; [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:411:31 [INFO] [stdout] | [INFO] [stdout] 411 | let _: BitBox = bitbox![1, 0, 1]; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:415:29 [INFO] [stdout] | [INFO] [stdout] 415 | let _: BitBox = bitbox![u16, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 427 | let _: BitBox = bitbox![u32, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:439:31 [INFO] [stdout] | [INFO] [stdout] 439 | let _: BitBox = bitbox![usize, Lsb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:453:30 [INFO] [stdout] | [INFO] [stdout] 453 | let _: BitBox = bitbox![u64, Lsb0; 1, 0, 1]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:466:40 [INFO] [stdout] | [INFO] [stdout] 466 | let _: BitBox =bitbox![AtomicU8, LocalBits; 0, 1]; [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:467:35 [INFO] [stdout] | [INFO] [stdout] 467 | let _: BitBox =bitbox![AtomicU8, Lsb0; 0, 1]; [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:468:35 [INFO] [stdout] | [INFO] [stdout] 468 | let _: BitBox =bitbox![AtomicU8, Msb0; 0, 1]; [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:474:41 [INFO] [stdout] | [INFO] [stdout] 474 | let _: BitBox =bitbox![AtomicU16, LocalBits; 0, 1]; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:475:36 [INFO] [stdout] | [INFO] [stdout] 475 | let _: BitBox =bitbox![AtomicU16, Lsb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:476:36 [INFO] [stdout] | [INFO] [stdout] 476 | let _: BitBox =bitbox![AtomicU16, Msb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | let _: BitBox =bitbox![AtomicU32, LocalBits; 0, 1]; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:483:36 [INFO] [stdout] | [INFO] [stdout] 483 | let _: BitBox =bitbox![AtomicU32, Lsb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:484:36 [INFO] [stdout] | [INFO] [stdout] 484 | let _: BitBox =bitbox![AtomicU32, Msb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:490:43 [INFO] [stdout] | [INFO] [stdout] 490 | let _: BitBox =bitbox![AtomicUsize, LocalBits; 0, 1]; [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:491:38 [INFO] [stdout] | [INFO] [stdout] 491 | let _: BitBox =bitbox![AtomicUsize, Lsb0; 0, 1]; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:492:38 [INFO] [stdout] | [INFO] [stdout] 492 | let _: BitBox =bitbox![AtomicUsize, Msb0; 0, 1]; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let _: BitBox =bitbox![AtomicU64, LocalBits; 0, 1]; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:502:36 [INFO] [stdout] | [INFO] [stdout] 502 | let _: BitBox =bitbox![AtomicU64, Lsb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:503:36 [INFO] [stdout] | [INFO] [stdout] 503 | let _: BitBox =bitbox![AtomicU64, Msb0; 0, 1]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | ($store:ident, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 142 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 143 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 322 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:403:28 [INFO] [stdout] | [INFO] [stdout] 403 | let _: BitBox = bitbox![u8, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | ($store:ident, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 142 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 143 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 322 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:418:29 [INFO] [stdout] | [INFO] [stdout] 418 | let _: BitBox = bitbox![u16, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | ($store:ident, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 142 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 143 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 322 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:430:29 [INFO] [stdout] | [INFO] [stdout] 430 | let _: BitBox = bitbox![u32, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | ($store:ident, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 142 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 143 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 322 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:442:31 [INFO] [stdout] | [INFO] [stdout] 442 | let _: BitBox = bitbox![usize, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | ($store:ident, $order:path; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 142 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 143 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 322 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:456:30 [INFO] [stdout] | [INFO] [stdout] 456 | let _: BitBox = bitbox![u64, crate::order::Msb0; 1, 0, 1]; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:533:2 [INFO] [stdout] | [INFO] [stdout] 533 | assert_eq!(uint.view_bits::()[.. 3], bits![1, 0, 1]); [INFO] [stdout] | --------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:536:2 [INFO] [stdout] | [INFO] [stdout] 536 | assert_eq!(cell.view_bits::()[.. 3], bits![1, 0, 1]); [INFO] [stdout] | --------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:561:2 [INFO] [stdout] | [INFO] [stdout] 561 | assert_eq!(uint.view_bits::()[.. 3], bits![1, 0, 1]); [INFO] [stdout] | --------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/macros/tests.rs:564:2 [INFO] [stdout] | [INFO] [stdout] 564 | assert_eq!(cell.view_bits::()[.. 3], bits![1, 0, 1]); [INFO] [stdout] | --------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/array/tests.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | BitArray::::try_from(bits![u8, Lsb0; 0, 1]) [INFO] [stdout] | ------------------------------ --------------------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/array/tests.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | BitArray::::try_from(&bits![u8, Lsb0; 0; 9][1 ..]) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(bitbox![0, 1, 0, 0, 1].as_bitslice(), bits![0, 1, 0, 0, 1]); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:58:2 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(bitbox![0, 1, 0, 0, 1].as_bitslice(), bits![0, 1, 0, 0, 1]); [INFO] [stdout] | ---------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:59:2 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(bitbox![0; 5].as_mut_bitslice(), bits![0; 5]); [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | let bb = bitbox![0, 1, 1, 0, 0, 1]; [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:77:2 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(iter.as_bitslice(), bits![1, 1, 0, 0, 1]); [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(iter.as_mut_bitslice(), bits![1, 1, 0, 0]); [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(BitBox::from(bitvec![0, 1]), bits![0, 1]); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:143:2 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(BitBox::from(bitvec![0, 1]), bits![0, 1]); [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | let a = bitbox![0, 0, 1, 1]; [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | let b = bitbox![0, 1, 0, 1]; [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(c, bitbox![0, 0, 0, 1]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | assert_eq!(d, bitbox![0, 1, 1, 1]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(e, bitbox![0, 1, 1, 0]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(f, bitbox![1, 0, 0, 1]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/boxed/tests.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | let render = format!("{:?}", bitbox![0, 1, 0, 0, 1]); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitbox` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/domain.rs:1037:20 [INFO] [stdout] | [INFO] [stdout] 1037 | assert!(matches!(bits![].domain(), Domain::Region { [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/field/tests.rs:282:2 [INFO] [stdout] | [INFO] [stdout] 282 | assert_eq!(bv, bits![0, 0, 1, 1]); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/field/tests.rs:295:2 [INFO] [stdout] | [INFO] [stdout] 295 | assert_eq!(bv, bits![ [INFO] [stdout] | _____- - [INFO] [stdout] | |____________________| [INFO] [stdout] 296 | | 0, 0, 0, 0, // original [INFO] [stdout] 297 | | 1, 1, 0, 0, 0, 0, 1, 1, // byte 0 [INFO] [stdout] 298 | | 1, 1, 1, 1, 0, 0, 0, 0, // byte 1 [INFO] [stdout] 299 | | 0, 1, 1, 0, 1, 0, 0, 1, // byte 2 [INFO] [stdout] 300 | | ]); [INFO] [stdout] | |_____-- borrow later used here [INFO] [stdout] | |_____| [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:37:2 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(rest, bits![1, 0, 0, 0]); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(rest, bits![1, 1, 0, 0]); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(bits, bits![1, 0, 0, 1, 0]); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | assert!(bits.strip_prefix(bits![1, 0]).is_none()); [INFO] [stdout] | ------------ ----------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(bits.strip_prefix(bits![0, 1]), Some(bits![0, 0, 1])); [INFO] [stdout] | ------------ ----------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:81:45 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(bits.strip_prefix(bits![0, 1]), Some(bits![0, 0, 1])); [INFO] [stdout] | -------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(bits.strip_suffix(bits![1, 0]).is_none()); [INFO] [stdout] | ------------ ----------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(bits.strip_suffix(bits![0, 1]), Some(bits![0, 1, 0])); [INFO] [stdout] | ------------ ----------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(bits.strip_suffix(bits![0, 1]), Some(bits![0, 1, 0])); [INFO] [stdout] | -------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:67:2 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(l, bits![0; 4]); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:68:2 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(r, bits![1; 4]); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(bits, bits![0, 0, 1, 0, 1]); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:94:2 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(bits, bits![0, 1, 0, 0, 1]); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 280 | &mut $crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:105:2 [INFO] [stdout] | [INFO] [stdout] 105 | bits![mut 0, 1].rotate_left(3); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 280 | &mut $crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:111:2 [INFO] [stdout] | [INFO] [stdout] 111 | bits![mut 0, 1].rotate_right(3); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:121:2 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(bits, bits![1, 0, 1, 0, 1]); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:124:2 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(bits, bits![0, 1, 0, 1, 1]); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:119:2 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(bits, bits![1; 5]); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(bits.contains(bits![0, 1, 0, 1])); [INFO] [stdout] | -------- ----------------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | assert!(bits.starts_with(bits![0, 1, 0, 0])); [INFO] [stdout] | ----------- ----------------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 135 | assert!(!bits.starts_with(bits![0, 1, 1])); [INFO] [stdout] | ----------- -------------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | assert!(bits.ends_with(bits![1, 0, 1])); [INFO] [stdout] | --------- -------------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | assert!(!bits.ends_with(bits![0, 0, 1])); [INFO] [stdout] | --------- -------------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/api.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(!bits.contains(bits![0; 4])); [INFO] [stdout] | -------- ----------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(bits, bits![0, 0, 0, 1, 1]); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:41:2 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(next, bits![0, 1, 0, 1]); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(next_back, bits![0, 1, 1, 1]); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(nth, bits![1, 1, 0, 0]); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:53:2 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(nth_back, bits![1, 0, 0, 1]); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:72:2 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(next, bits![0, 0]); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:76:2 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(next_back, bits![0]); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:80:2 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(nth, bits![0, 1]); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:84:2 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(nth_back, bits![1, 0]); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(bits![0; 2].chunks(3).next().unwrap().len(), 2); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(bits![0; 5].chunks(3).next().unwrap().len(), 3); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(bits![0; 5].chunks(3).nth(1).unwrap().len(), 2); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(bits![0; 8].chunks(3).nth(1).unwrap().len(), 3); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(bits![0; 5].chunks(3).next_back().unwrap().len(), 2); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(bits![0; 6].chunks(3).next_back().unwrap().len(), 3); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(bits![0; 5].chunks(3).nth_back(1).unwrap().len(), 3); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(bits, bits![0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0]); [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 289 | &mut $crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(bits![mut 0; 2].chunks_mut(3).next().unwrap().len(), 2); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 289 | &mut $crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(bits![mut 0; 5].chunks_mut(3).next().unwrap().len(), 3); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 289 | &mut $crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(bits![mut 0; 5].chunks_mut(3).nth(1).unwrap().len(), 2); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 289 | &mut $crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(bits![mut 0; 8].chunks_mut(3).nth(1).unwrap().len(), 3); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 289 | &mut $crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(bits![mut 0; 5].chunks_mut(3).next_back().unwrap().len(), 2); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 289 | &mut $crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(bits![mut 0; 6].chunks_mut(3).next_back().unwrap().len(), 3); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 289 | &mut $crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(bits![mut 0; 5].chunks_mut(3).nth_back(1).unwrap().len(), 3); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:156:2 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(next, bits![0, 0, 0]); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:160:2 [INFO] [stdout] | [INFO] [stdout] 160 | assert_eq!(nth, bits![0, 0, 1]); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:164:2 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(next_back, bits![0, 1, 0]); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:168:2 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(nth_back, bits![1, 0, 0]); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:172:2 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(remainder, bits![1, 1]); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:209:2 [INFO] [stdout] | [INFO] [stdout] 209 | assert_eq!(bits, bits![ [INFO] [stdout] | _____- - [INFO] [stdout] | |______________________| [INFO] [stdout] 210 | | 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, [INFO] [stdout] 211 | | ]); [INFO] [stdout] | |_____-- borrow later used here [INFO] [stdout] | |_____| [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | assert!(bits.ends_with(bits![0, 0, 1, 1])); [INFO] [stdout] | --------- ----------------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | assert_eq!(next, bits![0, 0]); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:236:2 [INFO] [stdout] | [INFO] [stdout] 236 | assert_eq!(next_back, bits![1]); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:240:2 [INFO] [stdout] | [INFO] [stdout] 240 | assert_eq!(nth, bits![0, 1]); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:244:2 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(nth_back, bits![1, 0]); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | assert_eq!(bits![0; 5].rchunks(3).next().unwrap().len(), 3); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | assert_eq!(bits![0; 5].rchunks(3).nth(1).unwrap().len(), 2); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | assert_eq!(bits![0; 5].rchunks(3).next_back().unwrap().len(), 2); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(bits![0; 5].rchunks(3).nth_back(1).unwrap().len(), 3); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:287:2 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(bits, bits![1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1]); [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 289 | &mut $crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | assert_eq!(bits![mut 0; 5].rchunks_mut(3).next().unwrap().len(), 3); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 289 | &mut $crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | assert_eq!(bits![mut 0; 5].rchunks_mut(3).nth(1).unwrap().len(), 2); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 289 | &mut $crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | assert_eq!(bits![mut 0; 5].rchunks_mut(3).next_back().unwrap().len(), 2); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 289 | &mut $crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | assert_eq!(bits![mut 0; 5].rchunks_mut(3).nth_back(1).unwrap().len(), 3); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:308:2 [INFO] [stdout] | [INFO] [stdout] 308 | assert_eq!(next, bits![0, 0, 0]); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:312:2 [INFO] [stdout] | [INFO] [stdout] 312 | assert_eq!(nth, bits![1, 0, 0]); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:316:2 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(next_back, bits![0, 1, 0]); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:320:2 [INFO] [stdout] | [INFO] [stdout] 320 | assert_eq!(nth_back, bits![0, 0, 1]); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:324:2 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(remainder, bits![1, 1]); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:361:2 [INFO] [stdout] | [INFO] [stdout] 361 | assert_eq!(bits, bits![ [INFO] [stdout] | _____- - [INFO] [stdout] | |______________________| [INFO] [stdout] 362 | | 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1 [INFO] [stdout] 363 | | ]); [INFO] [stdout] | |_____-- borrow later used here [INFO] [stdout] | |_____| [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(bits.starts_with(bits![1, 1, 0, 0])); [INFO] [stdout] | ----------- ----------------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:383:2 [INFO] [stdout] | [INFO] [stdout] 383 | assert_eq!(next, bits![0, 0]); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:399:2 [INFO] [stdout] | [INFO] [stdout] 399 | assert_eq!(next_back, bits![0, 0]); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:413:2 [INFO] [stdout] | [INFO] [stdout] 413 | assert_eq!(next, bits![0, 0]); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:429:2 [INFO] [stdout] | [INFO] [stdout] 429 | assert_eq!(next_back, bits![0, 0]); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:436:2 [INFO] [stdout] | [INFO] [stdout] 436 | assert_eq!(split.next().unwrap(), bits![0]); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:448:2 [INFO] [stdout] | [INFO] [stdout] 448 | assert_eq!(next, bits![0, 0, 1]); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:452:2 [INFO] [stdout] | [INFO] [stdout] 452 | assert_eq!(next, bits![1]); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:456:2 [INFO] [stdout] | [INFO] [stdout] 456 | assert_eq!(next_back, bits![1]); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:460:2 [INFO] [stdout] | [INFO] [stdout] 460 | assert_eq!(next_back, bits![0, 0, 1]); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:467:27 [INFO] [stdout] | [INFO] [stdout] 467 | assert_eq!(split.next(), Some(bits![0, 1])); [INFO] [stdout] | ----------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:470:32 [INFO] [stdout] | [INFO] [stdout] 470 | assert_eq!(split.next_back(), Some(bits![0, 1])); [INFO] [stdout] | ----------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:474:3 [INFO] [stdout] | [INFO] [stdout] 474 | bits![].split_inclusive(|_, &bit| bit).next_back(), [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:475:3 [INFO] [stdout] | [INFO] [stdout] 475 | Some(bits![]), [INFO] [stdout] | ------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:487:2 [INFO] [stdout] | [INFO] [stdout] 487 | assert_eq!(next, bits![0, 0, 1]); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:491:2 [INFO] [stdout] | [INFO] [stdout] 491 | assert_eq!(next, bits![1]); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:495:2 [INFO] [stdout] | [INFO] [stdout] 495 | assert_eq!(next_back, bits![1]); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:499:2 [INFO] [stdout] | [INFO] [stdout] 499 | assert_eq!(next_back, bits![0, 0, 1]); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:506:2 [INFO] [stdout] | [INFO] [stdout] 506 | assert_eq!(split.next().unwrap(), bits![0, 1]); [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:509:2 [INFO] [stdout] | [INFO] [stdout] 509 | assert_eq!(split.next_back().unwrap(), bits![0, 1]); [INFO] [stdout] | --------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 280 | &mut $crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:513:3 [INFO] [stdout] | [INFO] [stdout] 513 | bits![mut] [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:512:2 [INFO] [stdout] | [INFO] [stdout] 512 | / assert_eq!( [INFO] [stdout] 513 | | bits![mut] [INFO] [stdout] 514 | | .split_inclusive_mut(|_, &bit| bit) [INFO] [stdout] 515 | | .next_back() [INFO] [stdout] 516 | | .unwrap(), [INFO] [stdout] 517 | | bits![], [INFO] [stdout] | | ------- in this macro invocation [INFO] [stdout] 518 | | ); [INFO] [stdout] | |_____- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:537:2 [INFO] [stdout] | [INFO] [stdout] 537 | assert_eq!(next_back, bits![0, 0]); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:545:2 [INFO] [stdout] | [INFO] [stdout] 545 | assert_eq!(next_back, bits![0, 0]); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:567:2 [INFO] [stdout] | [INFO] [stdout] 567 | assert_eq!(next_back, bits![0, 0]); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:582:2 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(rsplit.next().unwrap(), bits![0]); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:594:2 [INFO] [stdout] | [INFO] [stdout] 594 | assert_eq!(next, bits![0, 0]); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:611:2 [INFO] [stdout] | [INFO] [stdout] 611 | assert_eq!(next, bits![0, 0]); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:615:2 [INFO] [stdout] | [INFO] [stdout] 615 | assert_eq!(next, bits![1, 0, 0, 1, 1]); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:632:2 [INFO] [stdout] | [INFO] [stdout] 632 | assert_eq!(next, bits![0, 0, 1, 1, 0, 0, 1]); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/iter.rs:647:2 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(next, bits![0, 0, 1, 1, 0, 0, 1]); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests/ops.rs:117:2 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!(bits[1 ..= 2], bits![1, 0]); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:86:2 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(bits, bits![1;2]); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:90:2 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(bits, bits![0;2]); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | assert!(!bits![].any()); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | assert!(!bits![0, 0].any()); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(bits![0, 1].any()); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(bits![].all()); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | assert!(!bits![0, 1].all()); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(bits![1, 1].all()); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | assert!(bits![].not_any()); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(bits![0, 0].not_any()); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | assert!(!bits![0, 1].not_any()); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | assert!(!bits![].not_all()); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | assert!(bits![0, 1].not_all()); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | assert!(!bits![1, 1].not_all()); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | assert!(bits![0, 1].some()); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | assert!(bits![usize, Lsb0;].first_one().is_none()); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | assert!(bits![usize, Msb0;].first_one().is_none()); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | assert!(bits![usize, Lsb0;].last_one().is_none()); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | assert!(bits![usize, Msb0;].last_one().is_none()); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | assert!(bits![usize, Lsb0;].first_zero().is_none()); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | assert!(bits![usize, Msb0;].first_zero().is_none()); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | assert!(bits![usize, Lsb0;].last_zero().is_none()); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | ---------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(bits![usize, Msb0;].last_zero().is_none()); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | assert!(!bits![0; 2].some()); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(!bits![1; 2].some()); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:221:2 [INFO] [stdout] | [INFO] [stdout] 221 | assert_eq!(bits, bits![0, 1, 0, 0, 1]); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/slice/tests.rs:227:2 [INFO] [stdout] | [INFO] [stdout] 227 | assert_eq!(bits, bits![0, 1, 1, 1, 0]); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | let mut bv = bitvec![0, 1, 0, 0, 1]; [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(bv, bits![0, 1, 1, 0]); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(bv, bits![0, 1, 0, 1, 0]); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(bv, bits![0, 1, 0, 0]); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let mut bv = bitvec![ [INFO] [stdout] | __________________- [INFO] [stdout] 20 | | 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0 [INFO] [stdout] 21 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let mut bv2 = bitvec![1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(bv, bits![1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1]); [INFO] [stdout] | --------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(bv, bits![1; 7]); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | let mut bv = bitvec![0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:43:2 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(bv2, bits![0, 1, 0, 1]); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:60:2 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(bv, bits![ [INFO] [stdout] | ______- - [INFO] [stdout] | | ____________________| [INFO] [stdout] 61 | || 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, [INFO] [stdout] 62 | || ]); [INFO] [stdout] | ||_____-- borrow later used here [INFO] [stdout] | |_____| [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(bv, bits![0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1]); [INFO] [stdout] | --------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | let mut bv = bitvec![0, 0, 1, 1, 0, 0]; [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/api.rs:69:2 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(bv, bits![0, 0, 1, 1, 0, 0, 1, 1]); [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/iter.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | let mut bv = bitvec![]; [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/iter.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let mut bv = bitvec![0, 1, 1, 1, 0]; [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ($store:ty, $order:ty; $val:expr_2021; $len:expr_2021) => {{ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 150 | | $crate::bitarr!(const $store, $order; $val; $len) [INFO] [stdout] 151 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 304 | &$crate::bitarr!($store, $order; $val; $len)[.. $len] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/iter.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(bv, bits![0; 2]); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/iter.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | let mut bv = bitvec![0, 1, 1, 1, 0]; [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/iter.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(bv, bits![0, 0, 1, 1, 0, 0]); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/iter.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let mut bv = bitvec![0, 1, 0, 0, 1]; [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/iter.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(bv, bits![0, 1]); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/iter.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | let mut bv = bitvec![0, 1, 0, 0, 1]; [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/iter.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(bv, bits![0, 1, 1, 0, 0, 1]); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/traits.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | let bv = bitvec![0, 0, 1, 1, 0, 1, 0, 1]; [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests/traits.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let text = format!("{:?}", bitvec![u8, Msb0; 0, 1, 0, 0]); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | bv.extend_from_bitslice(bits![0, 1, 0, 0, 1]); [INFO] [stdout] | -------------------- -------------------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests.rs:39:2 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(bv, bits![0, 1, 0, 0, 1]); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(bv, bits![0, 1]); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 354 | $crate::vec::BitVec::from_bitslice($crate::bits!($($arg)*)) [INFO] [stdout] | ---------------------------------- borrow later used by call [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(!bitvec![0, 1], bits![1, 0]); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bitvec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/macros.rs:135:62 [INFO] [stdout] | [INFO] [stdout] 135 | ($store:ident, $order:ident; $($val:expr_2021),* $(,)?) => {{ [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 136 | | const ELTS: usize = $crate::__count_elts!($store; $($val),*); [INFO] [stdout] 137 | | type This = $crate::array::BitArray<[$store; ELTS], $order>; [INFO] [stdout] ... | [INFO] [stdout] 140 | | }}; [INFO] [stdout] | |_____^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 313 | &$crate::bitarr!($store, $order; $($val),*)[.. BITS] [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] ::: src/vec/tests.rs:80:2 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(!bitvec![0, 1], bits![1, 0]); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | in this macro invocation [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `$crate::bitarr` which comes from the expansion of the macro `bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitvec` (lib test) due to 261 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "d4ed61a4c1d0472f11dfbf933a71c14ebfce607e2f420931b314f1935bf475a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4ed61a4c1d0472f11dfbf933a71c14ebfce607e2f420931b314f1935bf475a0", kill_on_drop: false }` [INFO] [stdout] d4ed61a4c1d0472f11dfbf933a71c14ebfce607e2f420931b314f1935bf475a0