[INFO] fetching crate num-integer 0.1.44... [INFO] checking num-integer-0.1.44 against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] extracting crate num-integer 0.1.44 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate num-integer 0.1.44 on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate num-integer 0.1.44 [INFO] finished tweaking crates.io crate num-integer 0.1.44 [INFO] tweaked toml for crates.io crate num-integer 0.1.44 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c249fc37c0b0ed7b7a306101ed5193ff4e5d20f0788654d6ad28f9f6ddaff69 [INFO] running `Command { std: "docker" "start" "-a" "5c249fc37c0b0ed7b7a306101ed5193ff4e5d20f0788654d6ad28f9f6ddaff69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c249fc37c0b0ed7b7a306101ed5193ff4e5d20f0788654d6ad28f9f6ddaff69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c249fc37c0b0ed7b7a306101ed5193ff4e5d20f0788654d6ad28f9f6ddaff69", kill_on_drop: false }` [INFO] [stdout] 5c249fc37c0b0ed7b7a306101ed5193ff4e5d20f0788654d6ad28f9f6ddaff69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b9ad58c5e29d01dc62a43bca0664b3e17869ddbf1fd52d9e84ac9365621fa73 [INFO] running `Command { std: "docker" "start" "-a" "1b9ad58c5e29d01dc62a43bca0664b3e17869ddbf1fd52d9e84ac9365621fa73", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:612:53 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 791 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:612:63 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^ expected `i8`, found `&i8` [INFO] [stdout] ... [INFO] [stdout] 791 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 612 - let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] 612 + let separate_div_mod_floor = (n.div_floor(d), n.mod_floor(&d)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:612:53 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 792 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:612:63 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^ expected `i16`, found `&i16` [INFO] [stdout] ... [INFO] [stdout] 792 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 612 - let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] 612 + let separate_div_mod_floor = (n.div_floor(d), n.mod_floor(&d)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:612:53 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 793 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:612:63 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^ expected `i32`, found `&i32` [INFO] [stdout] ... [INFO] [stdout] 793 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 612 - let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] 612 + let separate_div_mod_floor = (n.div_floor(d), n.mod_floor(&d)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:612:53 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 794 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:612:63 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^ expected `i64`, found `&i64` [INFO] [stdout] ... [INFO] [stdout] 794 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 612 - let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] 612 + let separate_div_mod_floor = (n.div_floor(d), n.mod_floor(&d)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:612:53 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 795 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:612:63 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^ expected `isize`, found `&isize` [INFO] [stdout] ... [INFO] [stdout] 795 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 612 - let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] 612 + let separate_div_mod_floor = (n.div_floor(d), n.mod_floor(&d)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:612:53 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 797 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:612:63 [INFO] [stdout] | [INFO] [stdout] 612 | let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] | ^^ expected `i128`, found `&i128` [INFO] [stdout] ... [INFO] [stdout] 797 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 612 - let separate_div_mod_floor = (n.div_floor(&d), n.mod_floor(&d)); [INFO] [stdout] 612 + let separate_div_mod_floor = (n.div_floor(d), n.mod_floor(&d)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `i8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:916:39 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `i8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:916:49 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] ... [INFO] [stdout] 1008 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 916 - assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] 916 + assert_eq!((10 as $T).div_floor((3 as $T)), 3 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:919:38 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:919:48 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] ... [INFO] [stdout] 1008 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 919 - assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] 919 + assert_eq!((5 as $T).div_floor((5 as $T)), 1 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:922:38 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:922:48 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] ... [INFO] [stdout] 1008 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 922 - assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] 922 + assert_eq!((3 as $T).div_floor((7 as $T)), 0 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `i16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `i16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:916:39 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1009 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:916:49 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] ... [INFO] [stdout] 1009 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 916 - assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] 916 + assert_eq!((10 as $T).div_floor((3 as $T)), 3 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:919:38 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1009 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:919:48 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] ... [INFO] [stdout] 1009 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 919 - assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] 919 + assert_eq!((5 as $T).div_floor((5 as $T)), 1 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:922:38 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1009 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:922:48 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] ... [INFO] [stdout] 1009 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 922 - assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] 922 + assert_eq!((3 as $T).div_floor((7 as $T)), 0 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:916:39 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1010 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `i32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:916:49 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] ... [INFO] [stdout] 1010 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 916 - assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] 916 + assert_eq!((10 as $T).div_floor((3 as $T)), 3 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:919:38 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1010 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:919:48 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] ... [INFO] [stdout] 1010 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 919 - assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] 919 + assert_eq!((5 as $T).div_floor((5 as $T)), 1 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:922:38 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1010 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:922:48 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] ... [INFO] [stdout] 1010 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 922 - assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] 922 + assert_eq!((3 as $T).div_floor((7 as $T)), 0 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `i32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `i64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:916:39 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1011 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:916:49 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] ... [INFO] [stdout] 1011 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 916 - assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] 916 + assert_eq!((10 as $T).div_floor((3 as $T)), 3 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:919:38 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1011 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:919:48 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] ... [INFO] [stdout] 1011 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 919 - assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] 919 + assert_eq!((5 as $T).div_floor((5 as $T)), 1 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:922:38 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1011 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:922:48 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] ... [INFO] [stdout] 1011 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 922 - assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] 922 + assert_eq!((3 as $T).div_floor((7 as $T)), 0 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `i64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:916:39 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1012 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:916:49 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] ... [INFO] [stdout] 1012 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 916 - assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] 916 + assert_eq!((10 as $T).div_floor((3 as $T)), 3 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:919:38 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1012 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:919:48 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] ... [INFO] [stdout] 1012 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 919 - assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] 919 + assert_eq!((5 as $T).div_floor((5 as $T)), 1 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:922:38 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1012 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:922:48 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] ... [INFO] [stdout] 1012 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 922 - assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] 922 + assert_eq!((3 as $T).div_floor((7 as $T)), 0 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `i128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `i128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:916:39 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1014 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `i128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:916:49 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u128`, found `&u128` [INFO] [stdout] ... [INFO] [stdout] 1014 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 916 - assert_eq!((10 as $T).div_floor(&(3 as $T)), 3 as $T); [INFO] [stdout] 916 + assert_eq!((10 as $T).div_floor((3 as $T)), 3 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:919:38 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1014 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:919:48 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u128`, found `&u128` [INFO] [stdout] ... [INFO] [stdout] 1014 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 919 - assert_eq!((5 as $T).div_floor(&(5 as $T)), 1 as $T); [INFO] [stdout] 919 + assert_eq!((5 as $T).div_floor((5 as $T)), 1 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> src/lib.rs:922:38 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1014 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `isize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `isize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `isize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:922:48 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] | ^^^^^^^^^^ expected `u128`, found `&u128` [INFO] [stdout] ... [INFO] [stdout] 1014 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 922 - assert_eq!((3 as $T).div_floor(&(7 as $T)), 0 as $T); [INFO] [stdout] 922 + assert_eq!((3 as $T).div_floor((7 as $T)), 0 as $T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `isize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `isize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `isize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 413 | bench_average!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `u8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `u8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u8`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `u16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `u16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u16`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `u32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` due to 49 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `u32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u32`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `u64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `u64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u64`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `u128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `u128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `u128`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | Some(z) => z.div_floor(&2), [INFO] [stdout] | ^^ expected `usize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - Some(z) => z.div_floor(&2), [INFO] [stdout] 56 + Some(z) => z.div_floor(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | other + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `usize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - other + diff.div_floor(&2) [INFO] [stdout] 60 + other + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | self + diff.div_floor(&2) [INFO] [stdout] | ^^ expected `usize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - self + diff.div_floor(&2) [INFO] [stdout] 63 + self + diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | Some(z) => z.div_ceil(&2), [INFO] [stdout] | ^^ expected `usize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - Some(z) => z.div_ceil(&2), [INFO] [stdout] 70 + Some(z) => z.div_ceil(2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | self - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `usize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - self - diff.div_floor(&2) [INFO] [stdout] 74 + self - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_roundings' [INFO] [stdout] --> benches/average.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #88581 for more information [INFO] [stdout] = help: add `#![feature(int_roundings)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/average.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | other - diff.div_floor(&2) [INFO] [stdout] | ^^ expected `usize`, found `&{integer}` [INFO] [stdout] ... [INFO] [stdout] 414 | bench_average!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `naive_average` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - other - diff.div_floor(&2) [INFO] [stdout] 77 + other - diff.div_floor(2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 144 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1b9ad58c5e29d01dc62a43bca0664b3e17869ddbf1fd52d9e84ac9365621fa73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9ad58c5e29d01dc62a43bca0664b3e17869ddbf1fd52d9e84ac9365621fa73", kill_on_drop: false }` [INFO] [stdout] 1b9ad58c5e29d01dc62a43bca0664b3e17869ddbf1fd52d9e84ac9365621fa73