[INFO] fetching crate genevo 0.7.0... [INFO] testing genevo-0.7.0 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate genevo 0.7.0 into /workspace/builds/worker-109/source [INFO] validating manifest of crates.io crate genevo 0.7.0 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate genevo 0.7.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate genevo 0.7.0 [INFO] tweaked toml for crates.io crate genevo 0.7.0 written to /workspace/builds/worker-109/source/Cargo.toml [INFO] crate crates.io crate genevo 0.7.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2c436065b88b5097a85d93afde3fe991ba318a438c948443f3b9ba3f2f64109 [INFO] running `Command { std: "docker" "start" "-a" "c2c436065b88b5097a85d93afde3fe991ba318a438c948443f3b9ba3f2f64109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2c436065b88b5097a85d93afde3fe991ba318a438c948443f3b9ba3f2f64109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c436065b88b5097a85d93afde3fe991ba318a438c948443f3b9ba3f2f64109", kill_on_drop: false }` [INFO] [stdout] c2c436065b88b5097a85d93afde3fe991ba318a438c948443f3b9ba3f2f64109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01301d86f75cc337a69773b388196dd1ff965103e4d1bb08b1ad163a444c213c [INFO] running `Command { std: "docker" "start" "-a" "01301d86f75cc337a69773b388196dd1ff965103e4d1bb08b1ad163a444c213c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling genevo v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.62s [INFO] running `Command { std: "docker" "inspect" "01301d86f75cc337a69773b388196dd1ff965103e4d1bb08b1ad163a444c213c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01301d86f75cc337a69773b388196dd1ff965103e4d1bb08b1ad163a444c213c", kill_on_drop: false }` [INFO] [stdout] 01301d86f75cc337a69773b388196dd1ff965103e4d1bb08b1ad163a444c213c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 464d56fded928750bbbe98dabb96928332560e4d07ac9acf7a2da70968a8a799 [INFO] running `Command { std: "docker" "start" "-a" "464d56fded928750bbbe98dabb96928332560e4d07ac9acf7a2da70968a8a799", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling semver-parser v0.9.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling galvanic-assert v0.8.7 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling version-sync v0.9.3 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling genevo v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | expect_that!(&1i8.abs_diff(&0i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | expect_that!(&1i8.abs_diff(&0i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 7 - expect_that!(&1i8.abs_diff(&0i8), is(equal_to(1i8))); [INFO] [stdout] 7 + expect_that!(&1i8.abs_diff(0i8), is(equal_to(1i8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | expect_that!(&1i8.abs_diff(&0i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | expect_that!(&1i16.abs_diff(&0i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | expect_that!(&1i16.abs_diff(&0i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 8 - expect_that!(&1i16.abs_diff(&0i16), is(equal_to(1i16))); [INFO] [stdout] 8 + expect_that!(&1i16.abs_diff(0i16), is(equal_to(1i16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | expect_that!(&1i16.abs_diff(&0i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | expect_that!(&1i32.abs_diff(&0i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | expect_that!(&1i32.abs_diff(&0i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 9 - expect_that!(&1i32.abs_diff(&0i32), is(equal_to(1i32))); [INFO] [stdout] 9 + expect_that!(&1i32.abs_diff(0i32), is(equal_to(1i32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | expect_that!(&1i32.abs_diff(&0i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | expect_that!(&1i64.abs_diff(&0i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | expect_that!(&1i64.abs_diff(&0i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 10 - expect_that!(&1i64.abs_diff(&0i64), is(equal_to(1i64))); [INFO] [stdout] 10 + expect_that!(&1i64.abs_diff(0i64), is(equal_to(1i64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | expect_that!(&1i64.abs_diff(&0i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | expect_that!(&1isize.abs_diff(&0isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | expect_that!(&1isize.abs_diff(&0isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 11 - expect_that!(&1isize.abs_diff(&0isize), is(equal_to(1isize))); [INFO] [stdout] 11 + expect_that!(&1isize.abs_diff(0isize), is(equal_to(1isize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | expect_that!(&1isize.abs_diff(&0isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | expect_that!(&0i8.abs_diff(&1i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | expect_that!(&0i8.abs_diff(&1i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 16 - expect_that!(&0i8.abs_diff(&1i8), is(equal_to(1i8))); [INFO] [stdout] 16 + expect_that!(&0i8.abs_diff(1i8), is(equal_to(1i8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | expect_that!(&0i8.abs_diff(&1i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | expect_that!(&0i16.abs_diff(&1i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | expect_that!(&0i16.abs_diff(&1i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 17 - expect_that!(&0i16.abs_diff(&1i16), is(equal_to(1i16))); [INFO] [stdout] 17 + expect_that!(&0i16.abs_diff(1i16), is(equal_to(1i16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | expect_that!(&0i16.abs_diff(&1i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | expect_that!(&0i32.abs_diff(&1i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | expect_that!(&0i32.abs_diff(&1i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 18 - expect_that!(&0i32.abs_diff(&1i32), is(equal_to(1i32))); [INFO] [stdout] 18 + expect_that!(&0i32.abs_diff(1i32), is(equal_to(1i32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | expect_that!(&0i32.abs_diff(&1i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | expect_that!(&0i64.abs_diff(&1i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | expect_that!(&0i64.abs_diff(&1i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 19 - expect_that!(&0i64.abs_diff(&1i64), is(equal_to(1i64))); [INFO] [stdout] 19 + expect_that!(&0i64.abs_diff(1i64), is(equal_to(1i64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | expect_that!(&0i64.abs_diff(&1i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | expect_that!(&0isize.abs_diff(&1isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | expect_that!(&0isize.abs_diff(&1isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 20 - expect_that!(&0isize.abs_diff(&1isize), is(equal_to(1isize))); [INFO] [stdout] 20 + expect_that!(&0isize.abs_diff(1isize), is(equal_to(1isize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | expect_that!(&0isize.abs_diff(&1isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | expect_that!(&0i8.abs_diff(&0i8), is(equal_to(0i8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | expect_that!(&0i8.abs_diff(&0i8), is(equal_to(0i8))); [INFO] [stdout] | ^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 25 - expect_that!(&0i8.abs_diff(&0i8), is(equal_to(0i8))); [INFO] [stdout] 25 + expect_that!(&0i8.abs_diff(0i8), is(equal_to(0i8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | expect_that!(&0i8.abs_diff(&0i8), is(equal_to(0i8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | expect_that!(&0i16.abs_diff(&0i16), is(equal_to(0i16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | expect_that!(&0i16.abs_diff(&0i16), is(equal_to(0i16))); [INFO] [stdout] | ^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 26 - expect_that!(&0i16.abs_diff(&0i16), is(equal_to(0i16))); [INFO] [stdout] 26 + expect_that!(&0i16.abs_diff(0i16), is(equal_to(0i16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | expect_that!(&0i16.abs_diff(&0i16), is(equal_to(0i16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | expect_that!(&0i32.abs_diff(&0i32), is(equal_to(0i32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | expect_that!(&0i32.abs_diff(&0i32), is(equal_to(0i32))); [INFO] [stdout] | ^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 27 - expect_that!(&0i32.abs_diff(&0i32), is(equal_to(0i32))); [INFO] [stdout] 27 + expect_that!(&0i32.abs_diff(0i32), is(equal_to(0i32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | expect_that!(&0i32.abs_diff(&0i32), is(equal_to(0i32))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | expect_that!(&0i64.abs_diff(&0i64), is(equal_to(0i64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | expect_that!(&0i64.abs_diff(&0i64), is(equal_to(0i64))); [INFO] [stdout] | ^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 28 - expect_that!(&0i64.abs_diff(&0i64), is(equal_to(0i64))); [INFO] [stdout] 28 + expect_that!(&0i64.abs_diff(0i64), is(equal_to(0i64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | expect_that!(&0i64.abs_diff(&0i64), is(equal_to(0i64))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | expect_that!(&0isize.abs_diff(&0isize), is(equal_to(0isize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | expect_that!(&0isize.abs_diff(&0isize), is(equal_to(0isize))); [INFO] [stdout] | ^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 29 - expect_that!(&0isize.abs_diff(&0isize), is(equal_to(0isize))); [INFO] [stdout] 29 + expect_that!(&0isize.abs_diff(0isize), is(equal_to(0isize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | expect_that!(&0isize.abs_diff(&0isize), is(equal_to(0isize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | expect_that!(&(-1i8).abs_diff(&0i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | expect_that!(&(-1i8).abs_diff(&0i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 34 - expect_that!(&(-1i8).abs_diff(&0i8), is(equal_to(1i8))); [INFO] [stdout] 34 + expect_that!(&(-1i8).abs_diff(0i8), is(equal_to(1i8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | expect_that!(&(-1i8).abs_diff(&0i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | expect_that!(&(-1i16).abs_diff(&0i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | expect_that!(&(-1i16).abs_diff(&0i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 35 - expect_that!(&(-1i16).abs_diff(&0i16), is(equal_to(1i16))); [INFO] [stdout] 35 + expect_that!(&(-1i16).abs_diff(0i16), is(equal_to(1i16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | expect_that!(&(-1i16).abs_diff(&0i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | expect_that!(&(-1i32).abs_diff(&0i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | expect_that!(&(-1i32).abs_diff(&0i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 36 - expect_that!(&(-1i32).abs_diff(&0i32), is(equal_to(1i32))); [INFO] [stdout] 36 + expect_that!(&(-1i32).abs_diff(0i32), is(equal_to(1i32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | expect_that!(&(-1i32).abs_diff(&0i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | expect_that!(&(-1i64).abs_diff(&0i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | expect_that!(&(-1i64).abs_diff(&0i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 37 - expect_that!(&(-1i64).abs_diff(&0i64), is(equal_to(1i64))); [INFO] [stdout] 37 + expect_that!(&(-1i64).abs_diff(0i64), is(equal_to(1i64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | expect_that!(&(-1i64).abs_diff(&0i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | expect_that!(&(-1isize).abs_diff(&0isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | expect_that!(&(-1isize).abs_diff(&0isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 38 - expect_that!(&(-1isize).abs_diff(&0isize), is(equal_to(1isize))); [INFO] [stdout] 38 + expect_that!(&(-1isize).abs_diff(0isize), is(equal_to(1isize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | expect_that!(&(-1isize).abs_diff(&0isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | expect_that!(&0i8.abs_diff(&-1i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | expect_that!(&0i8.abs_diff(&-1i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 43 - expect_that!(&0i8.abs_diff(&-1i8), is(equal_to(1i8))); [INFO] [stdout] 43 + expect_that!(&0i8.abs_diff(-1i8), is(equal_to(1i8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | expect_that!(&0i8.abs_diff(&-1i8), is(equal_to(1i8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | expect_that!(&0i16.abs_diff(&-1i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | expect_that!(&0i16.abs_diff(&-1i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 44 - expect_that!(&0i16.abs_diff(&-1i16), is(equal_to(1i16))); [INFO] [stdout] 44 + expect_that!(&0i16.abs_diff(-1i16), is(equal_to(1i16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | expect_that!(&0i16.abs_diff(&-1i16), is(equal_to(1i16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | expect_that!(&0i32.abs_diff(&-1i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | expect_that!(&0i32.abs_diff(&-1i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 45 - expect_that!(&0i32.abs_diff(&-1i32), is(equal_to(1i32))); [INFO] [stdout] 45 + expect_that!(&0i32.abs_diff(-1i32), is(equal_to(1i32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | expect_that!(&0i32.abs_diff(&-1i32), is(equal_to(1i32))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | expect_that!(&0i64.abs_diff(&-1i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | expect_that!(&0i64.abs_diff(&-1i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 46 - expect_that!(&0i64.abs_diff(&-1i64), is(equal_to(1i64))); [INFO] [stdout] 46 + expect_that!(&0i64.abs_diff(-1i64), is(equal_to(1i64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | expect_that!(&0i64.abs_diff(&-1i64), is(equal_to(1i64))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | expect_that!(&0isize.abs_diff(&-1isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | expect_that!(&0isize.abs_diff(&-1isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 47 - expect_that!(&0isize.abs_diff(&-1isize), is(equal_to(1isize))); [INFO] [stdout] 47 + expect_that!(&0isize.abs_diff(-1isize), is(equal_to(1isize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | expect_that!(&0isize.abs_diff(&-1isize), is(equal_to(1isize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | expect_that!(&(-1i8).abs_diff(&1i8), is(equal_to(2i8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | expect_that!(&(-1i8).abs_diff(&1i8), is(equal_to(2i8))); [INFO] [stdout] | ^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 52 - expect_that!(&(-1i8).abs_diff(&1i8), is(equal_to(2i8))); [INFO] [stdout] 52 + expect_that!(&(-1i8).abs_diff(1i8), is(equal_to(2i8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | expect_that!(&(-1i8).abs_diff(&1i8), is(equal_to(2i8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | expect_that!(&(-1i16).abs_diff(&1i16), is(equal_to(2i16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | expect_that!(&(-1i16).abs_diff(&1i16), is(equal_to(2i16))); [INFO] [stdout] | ^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 53 - expect_that!(&(-1i16).abs_diff(&1i16), is(equal_to(2i16))); [INFO] [stdout] 53 + expect_that!(&(-1i16).abs_diff(1i16), is(equal_to(2i16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | expect_that!(&(-1i16).abs_diff(&1i16), is(equal_to(2i16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | expect_that!(&(-1i32).abs_diff(&1i32), is(equal_to(2i32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | expect_that!(&(-1i32).abs_diff(&1i32), is(equal_to(2i32))); [INFO] [stdout] | ^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 54 - expect_that!(&(-1i32).abs_diff(&1i32), is(equal_to(2i32))); [INFO] [stdout] 54 + expect_that!(&(-1i32).abs_diff(1i32), is(equal_to(2i32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | expect_that!(&(-1i32).abs_diff(&1i32), is(equal_to(2i32))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | expect_that!(&(-1i64).abs_diff(&1i64), is(equal_to(2i64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | expect_that!(&(-1i64).abs_diff(&1i64), is(equal_to(2i64))); [INFO] [stdout] | ^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 55 - expect_that!(&(-1i64).abs_diff(&1i64), is(equal_to(2i64))); [INFO] [stdout] 55 + expect_that!(&(-1i64).abs_diff(1i64), is(equal_to(2i64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | expect_that!(&(-1i64).abs_diff(&1i64), is(equal_to(2i64))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | expect_that!(&(-1isize).abs_diff(&1isize), is(equal_to(2isize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | expect_that!(&(-1isize).abs_diff(&1isize), is(equal_to(2isize))); [INFO] [stdout] | ^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 56 - expect_that!(&(-1isize).abs_diff(&1isize), is(equal_to(2isize))); [INFO] [stdout] 56 + expect_that!(&(-1isize).abs_diff(1isize), is(equal_to(2isize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | expect_that!(&(-1isize).abs_diff(&1isize), is(equal_to(2isize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | expect_that!(&1i8.abs_diff(&-1i8), is(equal_to(2i8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | expect_that!(&1i8.abs_diff(&-1i8), is(equal_to(2i8))); [INFO] [stdout] | ^^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 61 - expect_that!(&1i8.abs_diff(&-1i8), is(equal_to(2i8))); [INFO] [stdout] 61 + expect_that!(&1i8.abs_diff(-1i8), is(equal_to(2i8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | expect_that!(&1i8.abs_diff(&-1i8), is(equal_to(2i8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | expect_that!(&1i16.abs_diff(&-1i16), is(equal_to(2i16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | expect_that!(&1i16.abs_diff(&-1i16), is(equal_to(2i16))); [INFO] [stdout] | ^^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 62 - expect_that!(&1i16.abs_diff(&-1i16), is(equal_to(2i16))); [INFO] [stdout] 62 + expect_that!(&1i16.abs_diff(-1i16), is(equal_to(2i16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | expect_that!(&1i16.abs_diff(&-1i16), is(equal_to(2i16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | expect_that!(&1i32.abs_diff(&-1i32), is(equal_to(2i32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | expect_that!(&1i32.abs_diff(&-1i32), is(equal_to(2i32))); [INFO] [stdout] | ^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - expect_that!(&1i32.abs_diff(&-1i32), is(equal_to(2i32))); [INFO] [stdout] 63 + expect_that!(&1i32.abs_diff(-1i32), is(equal_to(2i32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | expect_that!(&1i32.abs_diff(&-1i32), is(equal_to(2i32))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | expect_that!(&1i64.abs_diff(&-1i64), is(equal_to(2i64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | expect_that!(&1i64.abs_diff(&-1i64), is(equal_to(2i64))); [INFO] [stdout] | ^^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 64 - expect_that!(&1i64.abs_diff(&-1i64), is(equal_to(2i64))); [INFO] [stdout] 64 + expect_that!(&1i64.abs_diff(-1i64), is(equal_to(2i64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | expect_that!(&1i64.abs_diff(&-1i64), is(equal_to(2i64))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | expect_that!(&1isize.abs_diff(&-1isize), is(equal_to(2isize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | expect_that!(&1isize.abs_diff(&-1isize), is(equal_to(2isize))); [INFO] [stdout] | ^^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 65 - expect_that!(&1isize.abs_diff(&-1isize), is(equal_to(2isize))); [INFO] [stdout] 65 + expect_that!(&1isize.abs_diff(-1isize), is(equal_to(2isize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | expect_that!(&1isize.abs_diff(&-1isize), is(equal_to(2isize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | expect_that!(&(-19i8).abs_diff(&23i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | expect_that!(&(-19i8).abs_diff(&23i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - expect_that!(&(-19i8).abs_diff(&23i8), is(equal_to(42i8))); [INFO] [stdout] 70 + expect_that!(&(-19i8).abs_diff(23i8), is(equal_to(42i8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | expect_that!(&(-19i8).abs_diff(&23i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | expect_that!(&(-19i16).abs_diff(&23i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | expect_that!(&(-19i16).abs_diff(&23i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 71 - expect_that!(&(-19i16).abs_diff(&23i16), is(equal_to(42i16))); [INFO] [stdout] 71 + expect_that!(&(-19i16).abs_diff(23i16), is(equal_to(42i16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | expect_that!(&(-19i16).abs_diff(&23i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | expect_that!(&(-19i32).abs_diff(&23i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | expect_that!(&(-19i32).abs_diff(&23i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 72 - expect_that!(&(-19i32).abs_diff(&23i32), is(equal_to(42i32))); [INFO] [stdout] 72 + expect_that!(&(-19i32).abs_diff(23i32), is(equal_to(42i32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | expect_that!(&(-19i32).abs_diff(&23i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | expect_that!(&(-19i64).abs_diff(&23i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | expect_that!(&(-19i64).abs_diff(&23i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 73 - expect_that!(&(-19i64).abs_diff(&23i64), is(equal_to(42i64))); [INFO] [stdout] 73 + expect_that!(&(-19i64).abs_diff(23i64), is(equal_to(42i64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | expect_that!(&(-19i64).abs_diff(&23i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | expect_that!(&(-19isize).abs_diff(&23isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | expect_that!(&(-19isize).abs_diff(&23isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 74 - expect_that!(&(-19isize).abs_diff(&23isize), is(equal_to(42isize))); [INFO] [stdout] 74 + expect_that!(&(-19isize).abs_diff(23isize), is(equal_to(42isize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | expect_that!(&(-19isize).abs_diff(&23isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | expect_that!(&19i8.abs_diff(&-23i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | expect_that!(&19i8.abs_diff(&-23i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 79 - expect_that!(&19i8.abs_diff(&-23i8), is(equal_to(42i8))); [INFO] [stdout] 79 + expect_that!(&19i8.abs_diff(-23i8), is(equal_to(42i8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | expect_that!(&19i8.abs_diff(&-23i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | expect_that!(&19i16.abs_diff(&-23i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | expect_that!(&19i16.abs_diff(&-23i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 80 - expect_that!(&19i16.abs_diff(&-23i16), is(equal_to(42i16))); [INFO] [stdout] 80 + expect_that!(&19i16.abs_diff(-23i16), is(equal_to(42i16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | expect_that!(&19i16.abs_diff(&-23i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | expect_that!(&19i32.abs_diff(&-23i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | expect_that!(&19i32.abs_diff(&-23i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 81 - expect_that!(&19i32.abs_diff(&-23i32), is(equal_to(42i32))); [INFO] [stdout] 81 + expect_that!(&19i32.abs_diff(-23i32), is(equal_to(42i32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | expect_that!(&19i32.abs_diff(&-23i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | expect_that!(&19i64.abs_diff(&-23i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | expect_that!(&19i64.abs_diff(&-23i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 82 - expect_that!(&19i64.abs_diff(&-23i64), is(equal_to(42i64))); [INFO] [stdout] 82 + expect_that!(&19i64.abs_diff(-23i64), is(equal_to(42i64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | expect_that!(&19i64.abs_diff(&-23i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | expect_that!(&19isize.abs_diff(&-23isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | expect_that!(&19isize.abs_diff(&-23isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 83 - expect_that!(&19isize.abs_diff(&-23isize), is(equal_to(42isize))); [INFO] [stdout] 83 + expect_that!(&19isize.abs_diff(-23isize), is(equal_to(42isize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | expect_that!(&19isize.abs_diff(&-23isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | expect_that!(&61i8.abs_diff(&19i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | expect_that!(&61i8.abs_diff(&19i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 88 - expect_that!(&61i8.abs_diff(&19i8), is(equal_to(42i8))); [INFO] [stdout] 88 + expect_that!(&61i8.abs_diff(19i8), is(equal_to(42i8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | expect_that!(&61i8.abs_diff(&19i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | expect_that!(&61i16.abs_diff(&19i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | expect_that!(&61i16.abs_diff(&19i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 89 - expect_that!(&61i16.abs_diff(&19i16), is(equal_to(42i16))); [INFO] [stdout] 89 + expect_that!(&61i16.abs_diff(19i16), is(equal_to(42i16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | expect_that!(&61i16.abs_diff(&19i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | expect_that!(&61i32.abs_diff(&19i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | expect_that!(&61i32.abs_diff(&19i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 90 - expect_that!(&61i32.abs_diff(&19i32), is(equal_to(42i32))); [INFO] [stdout] 90 + expect_that!(&61i32.abs_diff(19i32), is(equal_to(42i32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | expect_that!(&61i32.abs_diff(&19i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | expect_that!(&61i64.abs_diff(&19i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | expect_that!(&61i64.abs_diff(&19i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 91 - expect_that!(&61i64.abs_diff(&19i64), is(equal_to(42i64))); [INFO] [stdout] 91 + expect_that!(&61i64.abs_diff(19i64), is(equal_to(42i64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | expect_that!(&61i64.abs_diff(&19i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | expect_that!(&61isize.abs_diff(&19isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | expect_that!(&61isize.abs_diff(&19isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 92 - expect_that!(&61isize.abs_diff(&19isize), is(equal_to(42isize))); [INFO] [stdout] 92 + expect_that!(&61isize.abs_diff(19isize), is(equal_to(42isize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | expect_that!(&61isize.abs_diff(&19isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | expect_that!(&19i8.abs_diff(&61i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | expect_that!(&19i8.abs_diff(&61i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 97 - expect_that!(&19i8.abs_diff(&61i8), is(equal_to(42i8))); [INFO] [stdout] 97 + expect_that!(&19i8.abs_diff(61i8), is(equal_to(42i8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | expect_that!(&19i8.abs_diff(&61i8), is(equal_to(42i8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | expect_that!(&19i16.abs_diff(&61i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | expect_that!(&19i16.abs_diff(&61i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 98 - expect_that!(&19i16.abs_diff(&61i16), is(equal_to(42i16))); [INFO] [stdout] 98 + expect_that!(&19i16.abs_diff(61i16), is(equal_to(42i16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | expect_that!(&19i16.abs_diff(&61i16), is(equal_to(42i16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | expect_that!(&19i32.abs_diff(&61i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | expect_that!(&19i32.abs_diff(&61i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 99 - expect_that!(&19i32.abs_diff(&61i32), is(equal_to(42i32))); [INFO] [stdout] 99 + expect_that!(&19i32.abs_diff(61i32), is(equal_to(42i32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | expect_that!(&19i32.abs_diff(&61i32), is(equal_to(42i32))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | expect_that!(&19i64.abs_diff(&61i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | expect_that!(&19i64.abs_diff(&61i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 100 - expect_that!(&19i64.abs_diff(&61i64), is(equal_to(42i64))); [INFO] [stdout] 100 + expect_that!(&19i64.abs_diff(61i64), is(equal_to(42i64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | expect_that!(&19i64.abs_diff(&61i64), is(equal_to(42i64))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | expect_that!(&19isize.abs_diff(&61isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | expect_that!(&19isize.abs_diff(&61isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 101 - expect_that!(&19isize.abs_diff(&61isize), is(equal_to(42isize))); [INFO] [stdout] 101 + expect_that!(&19isize.abs_diff(61isize), is(equal_to(42isize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | expect_that!(&19isize.abs_diff(&61isize), is(equal_to(42isize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | expect_that!(&i8::MAX.abs_diff(&1i8), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | expect_that!(&i8::MAX.abs_diff(&1i8), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | ^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 106 - expect_that!(&i8::MAX.abs_diff(&1i8), is(equal_to(i8::MAX - 1))); [INFO] [stdout] 106 + expect_that!(&i8::MAX.abs_diff(1i8), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | expect_that!(&i8::MAX.abs_diff(&1i8), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | expect_that!(&i16::MAX.abs_diff(&1i16), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | expect_that!(&i16::MAX.abs_diff(&1i16), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | ^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 107 - expect_that!(&i16::MAX.abs_diff(&1i16), is(equal_to(i16::MAX - 1))); [INFO] [stdout] 107 + expect_that!(&i16::MAX.abs_diff(1i16), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | expect_that!(&i16::MAX.abs_diff(&1i16), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | expect_that!(&i32::MAX.abs_diff(&1i32), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | expect_that!(&i32::MAX.abs_diff(&1i32), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | ^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 108 - expect_that!(&i32::MAX.abs_diff(&1i32), is(equal_to(i32::MAX - 1))); [INFO] [stdout] 108 + expect_that!(&i32::MAX.abs_diff(1i32), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | expect_that!(&i32::MAX.abs_diff(&1i32), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | expect_that!(&i64::MAX.abs_diff(&1i64), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | expect_that!(&i64::MAX.abs_diff(&1i64), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | ^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 109 - expect_that!(&i64::MAX.abs_diff(&1i64), is(equal_to(i64::MAX - 1))); [INFO] [stdout] 109 + expect_that!(&i64::MAX.abs_diff(1i64), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | expect_that!(&i64::MAX.abs_diff(&1i64), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | expect_that!(&isize::MAX.abs_diff(&1isize), is(equal_to(isize::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | expect_that!(&isize::MAX.abs_diff(&1isize), is(equal_to(isize::MAX - 1))); [INFO] [stdout] | ^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 110 - expect_that!(&isize::MAX.abs_diff(&1isize), is(equal_to(isize::MAX - 1))); [INFO] [stdout] 110 + expect_that!(&isize::MAX.abs_diff(1isize), is(equal_to(isize::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | expect_that!(&isize::MAX.abs_diff(&1isize), is(equal_to(isize::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | expect_that!(&1i8.abs_diff(&i8::MAX), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | expect_that!(&1i8.abs_diff(&i8::MAX), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 115 - expect_that!(&1i8.abs_diff(&i8::MAX), is(equal_to(i8::MAX - 1))); [INFO] [stdout] 115 + expect_that!(&1i8.abs_diff(i8::MAX), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | expect_that!(&1i8.abs_diff(&i8::MAX), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | expect_that!(&1i16.abs_diff(&i16::MAX), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | expect_that!(&1i16.abs_diff(&i16::MAX), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 116 - expect_that!(&1i16.abs_diff(&i16::MAX), is(equal_to(i16::MAX - 1))); [INFO] [stdout] 116 + expect_that!(&1i16.abs_diff(i16::MAX), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | expect_that!(&1i16.abs_diff(&i16::MAX), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | expect_that!(&1i32.abs_diff(&i32::MAX), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | expect_that!(&1i32.abs_diff(&i32::MAX), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 117 - expect_that!(&1i32.abs_diff(&i32::MAX), is(equal_to(i32::MAX - 1))); [INFO] [stdout] 117 + expect_that!(&1i32.abs_diff(i32::MAX), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | expect_that!(&1i32.abs_diff(&i32::MAX), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | expect_that!(&1i64.abs_diff(&i64::MAX), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | expect_that!(&1i64.abs_diff(&i64::MAX), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 118 - expect_that!(&1i64.abs_diff(&i64::MAX), is(equal_to(i64::MAX - 1))); [INFO] [stdout] 118 + expect_that!(&1i64.abs_diff(i64::MAX), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | expect_that!(&1i64.abs_diff(&i64::MAX), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | expect_that!(&1isize.abs_diff(&isize::MAX), is(equal_to(isize::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | expect_that!(&1isize.abs_diff(&isize::MAX), is(equal_to(isize::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^ expected `isize`, found `&isize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 119 - expect_that!(&1isize.abs_diff(&isize::MAX), is(equal_to(isize::MAX - 1))); [INFO] [stdout] 119 + expect_that!(&1isize.abs_diff(isize::MAX), is(equal_to(isize::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | expect_that!(&1isize.abs_diff(&isize::MAX), is(equal_to(isize::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&isize` [INFO] [stdout] found reference `&usize` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | expect_that!(&i8::MAX.abs_diff(&-1i8), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | expect_that!(&i8::MAX.abs_diff(&-1i8), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | ^^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 125 - expect_that!(&i8::MAX.abs_diff(&-1i8), is(equal_to(i8::MAX - 1))); [INFO] [stdout] 125 + expect_that!(&i8::MAX.abs_diff(-1i8), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | expect_that!(&i8::MAX.abs_diff(&-1i8), is(equal_to(i8::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | expect_that!(&i16::MAX.abs_diff(&-1i16), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | expect_that!(&i16::MAX.abs_diff(&-1i16), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | ^^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 131 - expect_that!(&i16::MAX.abs_diff(&-1i16), is(equal_to(i16::MAX - 1))); [INFO] [stdout] 131 + expect_that!(&i16::MAX.abs_diff(-1i16), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | expect_that!(&i16::MAX.abs_diff(&-1i16), is(equal_to(i16::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | expect_that!(&i32::MAX.abs_diff(&-1i32), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:136:37 [INFO] [stdout] | [INFO] [stdout] 136 | expect_that!(&i32::MAX.abs_diff(&-1i32), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | ^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 136 - expect_that!(&i32::MAX.abs_diff(&-1i32), is(equal_to(i32::MAX - 1))); [INFO] [stdout] 136 + expect_that!(&i32::MAX.abs_diff(-1i32), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | expect_that!(&i32::MAX.abs_diff(&-1i32), is(equal_to(i32::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | expect_that!(&i64::MAX.abs_diff(&-1i64), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | expect_that!(&i64::MAX.abs_diff(&-1i64), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | ^^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 141 - expect_that!(&i64::MAX.abs_diff(&-1i64), is(equal_to(i64::MAX - 1))); [INFO] [stdout] 141 + expect_that!(&i64::MAX.abs_diff(-1i64), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | expect_that!(&i64::MAX.abs_diff(&-1i64), is(equal_to(i64::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | expect_that!(&(-1i8).abs_diff(&i8::MAX), is(equal_to(i8::MAX))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 147 | expect_that!(&(-1i8).abs_diff(&i8::MAX), is(equal_to(i8::MAX))); [INFO] [stdout] | ^^^^^^^^ expected `i8`, found `&i8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 147 - expect_that!(&(-1i8).abs_diff(&i8::MAX), is(equal_to(i8::MAX))); [INFO] [stdout] 147 + expect_that!(&(-1i8).abs_diff(i8::MAX), is(equal_to(i8::MAX))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | expect_that!(&(-1i8).abs_diff(&i8::MAX), is(equal_to(i8::MAX))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i8` [INFO] [stdout] found reference `&u8` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | expect_that!(&(-1i16).abs_diff(&i16::MAX), is(equal_to(i16::MAX))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 153 | expect_that!(&(-1i16).abs_diff(&i16::MAX), is(equal_to(i16::MAX))); [INFO] [stdout] | ^^^^^^^^^ expected `i16`, found `&i16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 153 - expect_that!(&(-1i16).abs_diff(&i16::MAX), is(equal_to(i16::MAX))); [INFO] [stdout] 153 + expect_that!(&(-1i16).abs_diff(i16::MAX), is(equal_to(i16::MAX))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | expect_that!(&(-1i16).abs_diff(&i16::MAX), is(equal_to(i16::MAX))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `u16` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i16` [INFO] [stdout] found reference `&u16` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | expect_that!(&(-1i32).abs_diff(&i32::MAX), is(equal_to(i32::MAX))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | expect_that!(&(-1i32).abs_diff(&i32::MAX), is(equal_to(i32::MAX))); [INFO] [stdout] | ^^^^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 159 - expect_that!(&(-1i32).abs_diff(&i32::MAX), is(equal_to(i32::MAX))); [INFO] [stdout] 159 + expect_that!(&(-1i32).abs_diff(i32::MAX), is(equal_to(i32::MAX))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | expect_that!(&(-1i32).abs_diff(&i32::MAX), is(equal_to(i32::MAX))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&u32` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 165 | expect_that!(&(-1i64).abs_diff(&i64::MAX), is(equal_to(i64::MAX))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | expect_that!(&(-1i64).abs_diff(&i64::MAX), is(equal_to(i64::MAX))); [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `&i64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 165 - expect_that!(&(-1i64).abs_diff(&i64::MAX), is(equal_to(i64::MAX))); [INFO] [stdout] 165 + expect_that!(&(-1i64).abs_diff(i64::MAX), is(equal_to(i64::MAX))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | expect_that!(&(-1i64).abs_diff(&i64::MAX), is(equal_to(i64::MAX))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] = note: this error originates in the macro `get_expectation_for` (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_abs_diff' [INFO] [stdout] --> src/types/tests.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | expect_that!(&1u8.abs_diff(&0u8), is(equal_to(1u8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:170:32 [INFO] [stdout] | [INFO] [stdout] 170 | expect_that!(&1u8.abs_diff(&0u8), is(equal_to(1u8))); [INFO] [stdout] | ^^^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 170 - expect_that!(&1u8.abs_diff(&0u8), is(equal_to(1u8))); [INFO] [stdout] 170 + expect_that!(&1u8.abs_diff(0u8), is(equal_to(1u8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | expect_that!(&1u16.abs_diff(&0u16), is(equal_to(1u16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:171:33 [INFO] [stdout] | [INFO] [stdout] 171 | expect_that!(&1u16.abs_diff(&0u16), is(equal_to(1u16))); [INFO] [stdout] | ^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 171 - expect_that!(&1u16.abs_diff(&0u16), is(equal_to(1u16))); [INFO] [stdout] 171 + expect_that!(&1u16.abs_diff(0u16), is(equal_to(1u16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | expect_that!(&1u32.abs_diff(&0u32), is(equal_to(1u32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | expect_that!(&1u32.abs_diff(&0u32), is(equal_to(1u32))); [INFO] [stdout] | ^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 172 - expect_that!(&1u32.abs_diff(&0u32), is(equal_to(1u32))); [INFO] [stdout] 172 + expect_that!(&1u32.abs_diff(0u32), is(equal_to(1u32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | expect_that!(&1u64.abs_diff(&0u64), is(equal_to(1u64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | expect_that!(&1u64.abs_diff(&0u64), is(equal_to(1u64))); [INFO] [stdout] | ^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 173 - expect_that!(&1u64.abs_diff(&0u64), is(equal_to(1u64))); [INFO] [stdout] 173 + expect_that!(&1u64.abs_diff(0u64), is(equal_to(1u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | expect_that!(&1usize.abs_diff(&0usize), is(equal_to(1usize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:174:35 [INFO] [stdout] | [INFO] [stdout] 174 | expect_that!(&1usize.abs_diff(&0usize), is(equal_to(1usize))); [INFO] [stdout] | ^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 174 - expect_that!(&1usize.abs_diff(&0usize), is(equal_to(1usize))); [INFO] [stdout] 174 + expect_that!(&1usize.abs_diff(0usize), is(equal_to(1usize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 179 | expect_that!(&0u8.abs_diff(&1u8), is(equal_to(1u8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 179 | expect_that!(&0u8.abs_diff(&1u8), is(equal_to(1u8))); [INFO] [stdout] | ^^^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 179 - expect_that!(&0u8.abs_diff(&1u8), is(equal_to(1u8))); [INFO] [stdout] 179 + expect_that!(&0u8.abs_diff(1u8), is(equal_to(1u8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:180:24 [INFO] [stdout] | [INFO] [stdout] 180 | expect_that!(&0u16.abs_diff(&1u16), is(equal_to(1u16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:180:33 [INFO] [stdout] | [INFO] [stdout] 180 | expect_that!(&0u16.abs_diff(&1u16), is(equal_to(1u16))); [INFO] [stdout] | ^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 180 - expect_that!(&0u16.abs_diff(&1u16), is(equal_to(1u16))); [INFO] [stdout] 180 + expect_that!(&0u16.abs_diff(1u16), is(equal_to(1u16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | expect_that!(&0u32.abs_diff(&1u32), is(equal_to(1u32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | expect_that!(&0u32.abs_diff(&1u32), is(equal_to(1u32))); [INFO] [stdout] | ^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 181 - expect_that!(&0u32.abs_diff(&1u32), is(equal_to(1u32))); [INFO] [stdout] 181 + expect_that!(&0u32.abs_diff(1u32), is(equal_to(1u32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | expect_that!(&0u64.abs_diff(&1u64), is(equal_to(1u64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | expect_that!(&0u64.abs_diff(&1u64), is(equal_to(1u64))); [INFO] [stdout] | ^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 182 - expect_that!(&0u64.abs_diff(&1u64), is(equal_to(1u64))); [INFO] [stdout] 182 + expect_that!(&0u64.abs_diff(1u64), is(equal_to(1u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:183:26 [INFO] [stdout] | [INFO] [stdout] 183 | expect_that!(&0usize.abs_diff(&1usize), is(equal_to(1usize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:183:35 [INFO] [stdout] | [INFO] [stdout] 183 | expect_that!(&0usize.abs_diff(&1usize), is(equal_to(1usize))); [INFO] [stdout] | ^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 183 - expect_that!(&0usize.abs_diff(&1usize), is(equal_to(1usize))); [INFO] [stdout] 183 + expect_that!(&0usize.abs_diff(1usize), is(equal_to(1usize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | expect_that!(&0u8.abs_diff(&0u8), is(equal_to(0u8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | expect_that!(&0u8.abs_diff(&0u8), is(equal_to(0u8))); [INFO] [stdout] | ^^^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 188 - expect_that!(&0u8.abs_diff(&0u8), is(equal_to(0u8))); [INFO] [stdout] 188 + expect_that!(&0u8.abs_diff(0u8), is(equal_to(0u8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | expect_that!(&0u16.abs_diff(&0u16), is(equal_to(0u16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | expect_that!(&0u16.abs_diff(&0u16), is(equal_to(0u16))); [INFO] [stdout] | ^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 189 - expect_that!(&0u16.abs_diff(&0u16), is(equal_to(0u16))); [INFO] [stdout] 189 + expect_that!(&0u16.abs_diff(0u16), is(equal_to(0u16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | expect_that!(&0u32.abs_diff(&0u32), is(equal_to(0u32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | expect_that!(&0u32.abs_diff(&0u32), is(equal_to(0u32))); [INFO] [stdout] | ^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 190 - expect_that!(&0u32.abs_diff(&0u32), is(equal_to(0u32))); [INFO] [stdout] 190 + expect_that!(&0u32.abs_diff(0u32), is(equal_to(0u32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | expect_that!(&0u64.abs_diff(&0u64), is(equal_to(0u64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | expect_that!(&0u64.abs_diff(&0u64), is(equal_to(0u64))); [INFO] [stdout] | ^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 191 - expect_that!(&0u64.abs_diff(&0u64), is(equal_to(0u64))); [INFO] [stdout] 191 + expect_that!(&0u64.abs_diff(0u64), is(equal_to(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | expect_that!(&0usize.abs_diff(&0usize), is(equal_to(0usize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:192:35 [INFO] [stdout] | [INFO] [stdout] 192 | expect_that!(&0usize.abs_diff(&0usize), is(equal_to(0usize))); [INFO] [stdout] | ^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 192 - expect_that!(&0usize.abs_diff(&0usize), is(equal_to(0usize))); [INFO] [stdout] 192 + expect_that!(&0usize.abs_diff(0usize), is(equal_to(0usize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:197:24 [INFO] [stdout] | [INFO] [stdout] 197 | expect_that!(&61u8.abs_diff(&19u8), is(equal_to(42u8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | expect_that!(&61u8.abs_diff(&19u8), is(equal_to(42u8))); [INFO] [stdout] | ^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 197 - expect_that!(&61u8.abs_diff(&19u8), is(equal_to(42u8))); [INFO] [stdout] 197 + expect_that!(&61u8.abs_diff(19u8), is(equal_to(42u8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | expect_that!(&61u16.abs_diff(&19u16), is(equal_to(42u16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:198:34 [INFO] [stdout] | [INFO] [stdout] 198 | expect_that!(&61u16.abs_diff(&19u16), is(equal_to(42u16))); [INFO] [stdout] | ^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 198 - expect_that!(&61u16.abs_diff(&19u16), is(equal_to(42u16))); [INFO] [stdout] 198 + expect_that!(&61u16.abs_diff(19u16), is(equal_to(42u16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | expect_that!(&61u32.abs_diff(&19u32), is(equal_to(42u32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | expect_that!(&61u32.abs_diff(&19u32), is(equal_to(42u32))); [INFO] [stdout] | ^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 199 - expect_that!(&61u32.abs_diff(&19u32), is(equal_to(42u32))); [INFO] [stdout] 199 + expect_that!(&61u32.abs_diff(19u32), is(equal_to(42u32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | expect_that!(&61u64.abs_diff(&19u64), is(equal_to(42u64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:200:34 [INFO] [stdout] | [INFO] [stdout] 200 | expect_that!(&61u64.abs_diff(&19u64), is(equal_to(42u64))); [INFO] [stdout] | ^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 200 - expect_that!(&61u64.abs_diff(&19u64), is(equal_to(42u64))); [INFO] [stdout] 200 + expect_that!(&61u64.abs_diff(19u64), is(equal_to(42u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:201:27 [INFO] [stdout] | [INFO] [stdout] 201 | expect_that!(&61usize.abs_diff(&19usize), is(equal_to(42usize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | expect_that!(&61usize.abs_diff(&19usize), is(equal_to(42usize))); [INFO] [stdout] | ^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 201 - expect_that!(&61usize.abs_diff(&19usize), is(equal_to(42usize))); [INFO] [stdout] 201 + expect_that!(&61usize.abs_diff(19usize), is(equal_to(42usize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | expect_that!(&19u8.abs_diff(&61u8), is(equal_to(42u8))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | expect_that!(&19u8.abs_diff(&61u8), is(equal_to(42u8))); [INFO] [stdout] | ^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 206 - expect_that!(&19u8.abs_diff(&61u8), is(equal_to(42u8))); [INFO] [stdout] 206 + expect_that!(&19u8.abs_diff(61u8), is(equal_to(42u8))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | expect_that!(&19u16.abs_diff(&61u16), is(equal_to(42u16))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | expect_that!(&19u16.abs_diff(&61u16), is(equal_to(42u16))); [INFO] [stdout] | ^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 207 - expect_that!(&19u16.abs_diff(&61u16), is(equal_to(42u16))); [INFO] [stdout] 207 + expect_that!(&19u16.abs_diff(61u16), is(equal_to(42u16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | expect_that!(&19u32.abs_diff(&61u32), is(equal_to(42u32))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:208:34 [INFO] [stdout] | [INFO] [stdout] 208 | expect_that!(&19u32.abs_diff(&61u32), is(equal_to(42u32))); [INFO] [stdout] | ^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 208 - expect_that!(&19u32.abs_diff(&61u32), is(equal_to(42u32))); [INFO] [stdout] 208 + expect_that!(&19u32.abs_diff(61u32), is(equal_to(42u32))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | expect_that!(&19u64.abs_diff(&61u64), is(equal_to(42u64))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:209:34 [INFO] [stdout] | [INFO] [stdout] 209 | expect_that!(&19u64.abs_diff(&61u64), is(equal_to(42u64))); [INFO] [stdout] | ^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 209 - expect_that!(&19u64.abs_diff(&61u64), is(equal_to(42u64))); [INFO] [stdout] 209 + expect_that!(&19u64.abs_diff(61u64), is(equal_to(42u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | expect_that!(&19usize.abs_diff(&61usize), is(equal_to(42usize))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:210:36 [INFO] [stdout] | [INFO] [stdout] 210 | expect_that!(&19usize.abs_diff(&61usize), is(equal_to(42usize))); [INFO] [stdout] | ^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 210 - expect_that!(&19usize.abs_diff(&61usize), is(equal_to(42usize))); [INFO] [stdout] 210 + expect_that!(&19usize.abs_diff(61usize), is(equal_to(42usize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 215 | expect_that!(&u8::MAX.abs_diff(&1u8), is(equal_to(u8::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:215:36 [INFO] [stdout] | [INFO] [stdout] 215 | expect_that!(&u8::MAX.abs_diff(&1u8), is(equal_to(u8::MAX - 1))); [INFO] [stdout] | ^^^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 215 - expect_that!(&u8::MAX.abs_diff(&1u8), is(equal_to(u8::MAX - 1))); [INFO] [stdout] 215 + expect_that!(&u8::MAX.abs_diff(1u8), is(equal_to(u8::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | expect_that!(&u16::MAX.abs_diff(&1u16), is(equal_to(u16::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | expect_that!(&u16::MAX.abs_diff(&1u16), is(equal_to(u16::MAX - 1))); [INFO] [stdout] | ^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 216 - expect_that!(&u16::MAX.abs_diff(&1u16), is(equal_to(u16::MAX - 1))); [INFO] [stdout] 216 + expect_that!(&u16::MAX.abs_diff(1u16), is(equal_to(u16::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | expect_that!(&u32::MAX.abs_diff(&1u32), is(equal_to(u32::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | expect_that!(&u32::MAX.abs_diff(&1u32), is(equal_to(u32::MAX - 1))); [INFO] [stdout] | ^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 217 - expect_that!(&u32::MAX.abs_diff(&1u32), is(equal_to(u32::MAX - 1))); [INFO] [stdout] 217 + expect_that!(&u32::MAX.abs_diff(1u32), is(equal_to(u32::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | expect_that!(&u64::MAX.abs_diff(&1u64), is(equal_to(u64::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | expect_that!(&u64::MAX.abs_diff(&1u64), is(equal_to(u64::MAX - 1))); [INFO] [stdout] | ^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 218 - expect_that!(&u64::MAX.abs_diff(&1u64), is(equal_to(u64::MAX - 1))); [INFO] [stdout] 218 + expect_that!(&u64::MAX.abs_diff(1u64), is(equal_to(u64::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:219:30 [INFO] [stdout] | [INFO] [stdout] 219 | expect_that!(&usize::MAX.abs_diff(&1usize), is(equal_to(usize::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:219:39 [INFO] [stdout] | [INFO] [stdout] 219 | expect_that!(&usize::MAX.abs_diff(&1usize), is(equal_to(usize::MAX - 1))); [INFO] [stdout] | ^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 219 - expect_that!(&usize::MAX.abs_diff(&1usize), is(equal_to(usize::MAX - 1))); [INFO] [stdout] 219 + expect_that!(&usize::MAX.abs_diff(1usize), is(equal_to(usize::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | expect_that!(&1u8.abs_diff(&u8::MAX), is(equal_to(u8::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:224:32 [INFO] [stdout] | [INFO] [stdout] 224 | expect_that!(&1u8.abs_diff(&u8::MAX), is(equal_to(u8::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 224 - expect_that!(&1u8.abs_diff(&u8::MAX), is(equal_to(u8::MAX - 1))); [INFO] [stdout] 224 + expect_that!(&1u8.abs_diff(u8::MAX), is(equal_to(u8::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | expect_that!(&1u16.abs_diff(&u16::MAX), is(equal_to(u16::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:225:33 [INFO] [stdout] | [INFO] [stdout] 225 | expect_that!(&1u16.abs_diff(&u16::MAX), is(equal_to(u16::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 225 - expect_that!(&1u16.abs_diff(&u16::MAX), is(equal_to(u16::MAX - 1))); [INFO] [stdout] 225 + expect_that!(&1u16.abs_diff(u16::MAX), is(equal_to(u16::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | expect_that!(&1u32.abs_diff(&u32::MAX), is(equal_to(u32::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:226:33 [INFO] [stdout] | [INFO] [stdout] 226 | expect_that!(&1u32.abs_diff(&u32::MAX), is(equal_to(u32::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 226 - expect_that!(&1u32.abs_diff(&u32::MAX), is(equal_to(u32::MAX - 1))); [INFO] [stdout] 226 + expect_that!(&1u32.abs_diff(u32::MAX), is(equal_to(u32::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | expect_that!(&1u64.abs_diff(&u64::MAX), is(equal_to(u64::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | expect_that!(&1u64.abs_diff(&u64::MAX), is(equal_to(u64::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 227 - expect_that!(&1u64.abs_diff(&u64::MAX), is(equal_to(u64::MAX - 1))); [INFO] [stdout] 227 + expect_that!(&1u64.abs_diff(u64::MAX), is(equal_to(u64::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'int_abs_diff' [INFO] [stdout] --> src/types/tests.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | expect_that!(&1usize.abs_diff(&usize::MAX), is(equal_to(usize::MAX - 1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89492 for more information [INFO] [stdout] = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/tests.rs:228:35 [INFO] [stdout] | [INFO] [stdout] 228 | expect_that!(&1usize.abs_diff(&usize::MAX), is(equal_to(usize::MAX - 1))); [INFO] [stdout] | ^^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 228 - expect_that!(&1usize.abs_diff(&usize::MAX), is(equal_to(usize::MAX - 1))); [INFO] [stdout] 228 + expect_that!(&1usize.abs_diff(usize::MAX), is(equal_to(usize::MAX - 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super` [INFO] [stdout] --> src/types/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 289 previous errors; 1 warning emitted [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: could not compile `genevo` due to 290 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "464d56fded928750bbbe98dabb96928332560e4d07ac9acf7a2da70968a8a799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464d56fded928750bbbe98dabb96928332560e4d07ac9acf7a2da70968a8a799", kill_on_drop: false }` [INFO] [stdout] 464d56fded928750bbbe98dabb96928332560e4d07ac9acf7a2da70968a8a799