[INFO] fetching crate synonym 0.0.5... [INFO] testing synonym-0.0.5 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate synonym 0.0.5 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate synonym 0.0.5 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate synonym 0.0.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate synonym 0.0.5 [INFO] tweaked toml for crates.io crate synonym 0.0.5 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b70e23ed0617880bddd5e447665bdd26e656073b4341857ff02ea9a540d1f2a5 [INFO] running `Command { std: "docker" "start" "-a" "b70e23ed0617880bddd5e447665bdd26e656073b4341857ff02ea9a540d1f2a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b70e23ed0617880bddd5e447665bdd26e656073b4341857ff02ea9a540d1f2a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b70e23ed0617880bddd5e447665bdd26e656073b4341857ff02ea9a540d1f2a5", kill_on_drop: false }` [INFO] [stdout] b70e23ed0617880bddd5e447665bdd26e656073b4341857ff02ea9a540d1f2a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 078f957e19d858f0c84f7316b575a590111440270ea99155cd0c48b93bbc260b [INFO] running `Command { std: "docker" "start" "-a" "078f957e19d858f0c84f7316b575a590111440270ea99155cd0c48b93bbc260b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling synonym v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.89s [INFO] running `Command { std: "docker" "inspect" "078f957e19d858f0c84f7316b575a590111440270ea99155cd0c48b93bbc260b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "078f957e19d858f0c84f7316b575a590111440270ea99155cd0c48b93bbc260b", kill_on_drop: false }` [INFO] [stdout] 078f957e19d858f0c84f7316b575a590111440270ea99155cd0c48b93bbc260b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f2c303fc9f00e7c8ade9c00effdcdf09c846a24ce1a259667b050bd3ac3f2f4 [INFO] running `Command { std: "docker" "start" "-a" "5f2c303fc9f00e7c8ade9c00effdcdf09c846a24ce1a259667b050bd3ac3f2f4", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling trybuild v1.0.43 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling synonym v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.49s [INFO] running `Command { std: "docker" "inspect" "5f2c303fc9f00e7c8ade9c00effdcdf09c846a24ce1a259667b050bd3ac3f2f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f2c303fc9f00e7c8ade9c00effdcdf09c846a24ce1a259667b050bd3ac3f2f4", kill_on_drop: false }` [INFO] [stdout] 5f2c303fc9f00e7c8ade9c00effdcdf09c846a24ce1a259667b050bd3ac3f2f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ff448f0a974acf9ec33376790826328f55506db1893cc5f477d4417010d305c [INFO] running `Command { std: "docker" "start" "-a" "9ff448f0a974acf9ec33376790826328f55506db1893cc5f477d4417010d305c", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/synonym-f203151e4cc36099) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/progress.rs (/opt/rustwide/target/debug/deps/tests-ae2b48e868c95f08) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling synonym v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling synonym-tests v0.0.0 (/opt/rustwide/target/tests/synonym) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.32s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test pass-char.rs [should pass] ... ok [INFO] [stderr] test pass-display.rs [should pass] ... ok [INFO] [stderr] test pass-floats.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-floats.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-floats.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 41 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 42 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:15:25 [INFO] [stderr] | [INFO] [stderr] 15 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 43 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:16:24 [INFO] [stderr] | [INFO] [stderr] 16 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 44 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:17:27 [INFO] [stderr] | [INFO] [stderr] 17 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 45 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-floats.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 46 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-floats.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 47 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:20:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 20 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 21 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1f32` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:23:28 [INFO] [stderr] | [INFO] [stderr] 23 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:24:23 [INFO] [stderr] | [INFO] [stderr] 24 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:26:23 [INFO] [stderr] | [INFO] [stderr] 26 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 37 | check!(f32, 1f32); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 41 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 42 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:15:25 [INFO] [stderr] | [INFO] [stderr] 15 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 43 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:16:24 [INFO] [stderr] | [INFO] [stderr] 16 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 44 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:17:27 [INFO] [stderr] | [INFO] [stderr] 17 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 45 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-floats.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 46 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-floats.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 47 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:20:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 20 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 21 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `f64: From` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1f64` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-floats.rs:23:28 [INFO] [stderr] | [INFO] [stderr] 23 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:24:23 [INFO] [stderr] | [INFO] [stderr] 24 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:26:23 [INFO] [stderr] | [INFO] [stderr] 26 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-floats.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 38 | check!(f64, 1f64); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test pass-serde.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-serde.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | check!(u8, 1u8, "1"); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-serde.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | check!(u16, 2u16, "2"); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-serde.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | check!(u32, 3u32, "3"); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-serde.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | check!(u64, 4u64, "4"); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-serde.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | check!(u128, 5u128, "5"); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-serde.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | check!(usize, 6usize, "6"); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-serde.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | check!(usize, 7usize, "7"); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-serde.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | check!(String, "Foo".to_string(), r#""Foo""#); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-serde.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | check!(char, 'X', r#""X""#); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Serialize` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | let json = serde_json::to_string(&foo).unwrap(); [INFO] [stderr] | ^^^^ the trait `Serialize` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 22 | check!(u8, 1u8, "1"); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] ::: $CARGO/serde_json-1.0.66/src/ser.rs [INFO] [stderr] | [INFO] [stderr] | T: ?Sized + Serialize, [INFO] [stderr] | --------- required by this bound in `serde_json::to_string` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `main::Foo` [INFO] [stderr] --> $DIR/pass-serde.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | check!(u8, 1u8, "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | main::Foo [INFO] [stderr] | _ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-serde.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | check!(u8, 1u8, "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Serialize` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | let json = serde_json::to_string(&foo).unwrap(); [INFO] [stderr] | ^^^^ the trait `Serialize` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 23 | check!(u16, 2u16, "2"); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] ::: $CARGO/serde_json-1.0.66/src/ser.rs [INFO] [stderr] | [INFO] [stderr] | T: ?Sized + Serialize, [INFO] [stderr] | --------- required by this bound in `serde_json::to_string` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `main::Foo` [INFO] [stderr] --> $DIR/pass-serde.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | check!(u16, 2u16, "2"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | main::Foo [INFO] [stderr] | _ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-serde.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | check!(u16, 2u16, "2"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Serialize` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | let json = serde_json::to_string(&foo).unwrap(); [INFO] [stderr] | ^^^^ the trait `Serialize` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 24 | check!(u32, 3u32, "3"); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] ::: $CARGO/serde_json-1.0.66/src/ser.rs [INFO] [stderr] | [INFO] [stderr] | T: ?Sized + Serialize, [INFO] [stderr] | --------- required by this bound in `serde_json::to_string` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `main::Foo` [INFO] [stderr] --> $DIR/pass-serde.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | check!(u32, 3u32, "3"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | main::Foo [INFO] [stderr] | _ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-serde.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | check!(u32, 3u32, "3"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Serialize` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | let json = serde_json::to_string(&foo).unwrap(); [INFO] [stderr] | ^^^^ the trait `Serialize` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 25 | check!(u64, 4u64, "4"); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] ::: $CARGO/serde_json-1.0.66/src/ser.rs [INFO] [stderr] | [INFO] [stderr] | T: ?Sized + Serialize, [INFO] [stderr] | --------- required by this bound in `serde_json::to_string` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `main::Foo` [INFO] [stderr] --> $DIR/pass-serde.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | check!(u64, 4u64, "4"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | main::Foo [INFO] [stderr] | _ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-serde.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | check!(u64, 4u64, "4"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Serialize` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | let json = serde_json::to_string(&foo).unwrap(); [INFO] [stderr] | ^^^^ the trait `Serialize` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 26 | check!(u128, 5u128, "5"); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] ::: $CARGO/serde_json-1.0.66/src/ser.rs [INFO] [stderr] | [INFO] [stderr] | T: ?Sized + Serialize, [INFO] [stderr] | --------- required by this bound in `serde_json::to_string` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `main::Foo` [INFO] [stderr] --> $DIR/pass-serde.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | check!(u128, 5u128, "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | main::Foo [INFO] [stderr] | _ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-serde.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | check!(u128, 5u128, "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Serialize` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | let json = serde_json::to_string(&foo).unwrap(); [INFO] [stderr] | ^^^^ the trait `Serialize` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 27 | check!(usize, 6usize, "6"); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] ::: $CARGO/serde_json-1.0.66/src/ser.rs [INFO] [stderr] | [INFO] [stderr] | T: ?Sized + Serialize, [INFO] [stderr] | --------- required by this bound in `serde_json::to_string` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `main::Foo` [INFO] [stderr] --> $DIR/pass-serde.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | check!(usize, 6usize, "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | main::Foo [INFO] [stderr] | _ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-serde.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | check!(usize, 6usize, "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Serialize` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | let json = serde_json::to_string(&foo).unwrap(); [INFO] [stderr] | ^^^^ the trait `Serialize` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 28 | check!(usize, 7usize, "7"); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] ::: $CARGO/serde_json-1.0.66/src/ser.rs [INFO] [stderr] | [INFO] [stderr] | T: ?Sized + Serialize, [INFO] [stderr] | --------- required by this bound in `serde_json::to_string` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `main::Foo` [INFO] [stderr] --> $DIR/pass-serde.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | check!(usize, 7usize, "7"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | main::Foo [INFO] [stderr] | _ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-serde.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | check!(usize, 7usize, "7"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Serialize` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | let json = serde_json::to_string(&foo).unwrap(); [INFO] [stderr] | ^^^^ the trait `Serialize` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 29 | check!(String, "Foo".to_string(), r#""Foo""#); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] ::: $CARGO/serde_json-1.0.66/src/ser.rs [INFO] [stderr] | [INFO] [stderr] | T: ?Sized + Serialize, [INFO] [stderr] | --------- required by this bound in `serde_json::to_string` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `main::Foo` [INFO] [stderr] --> $DIR/pass-serde.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | check!(String, "Foo".to_string(), r#""Foo""#); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | main::Foo [INFO] [stderr] | _ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-serde.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | check!(String, "Foo".to_string(), r#""Foo""#); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Serialize` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | let json = serde_json::to_string(&foo).unwrap(); [INFO] [stderr] | ^^^^ the trait `Serialize` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 30 | check!(char, 'X', r#""X""#); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] ::: $CARGO/serde_json-1.0.66/src/ser.rs [INFO] [stderr] | [INFO] [stderr] | T: ?Sized + Serialize, [INFO] [stderr] | --------- required by this bound in `serde_json::to_string` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `main::Foo` [INFO] [stderr] --> $DIR/pass-serde.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | check!(char, 'X', r#""X""#); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | main::Foo [INFO] [stderr] | _ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-serde.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | check!(char, 'X', r#""X""#); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Baz: Serialize` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | bar: Baz [INFO] [stderr] | ^^^^^^^^ the trait `Serialize` is not implemented for `Baz` [INFO] [stderr] | [INFO] [stderr] note: required by `main::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stderr] --> $DIR/mod.rs:1871:5 [INFO] [stderr] | [INFO] [stderr] 1871 | / fn serialize_field( [INFO] [stderr] 1872 | | &mut self, [INFO] [stderr] 1873 | | key: &'static str, [INFO] [stderr] 1874 | | value: &T, [INFO] [stderr] 1875 | | ) -> Result<(), Self::Error> [INFO] [stderr] 1876 | | where [INFO] [stderr] 1877 | | T: Serialize; [INFO] [stderr] | |_____________________^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Baz: Deserialize<'_>` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | bar: Baz [INFO] [stderr] | ^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Baz` [INFO] [stderr] | [INFO] [stderr] note: required by `next_element` [INFO] [stderr] --> $DIR/mod.rs:1703:5 [INFO] [stderr] | [INFO] [stderr] 1703 | / fn next_element(&mut self) -> Result, Self::Error> [INFO] [stderr] 1704 | | where [INFO] [stderr] 1705 | | T: Deserialize<'de>, [INFO] [stderr] | |____________________________^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Baz: Deserialize<'_>` is not satisfied [INFO] [stderr] --> $DIR/pass-serde.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | bar: Baz [INFO] [stderr] | ^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Baz` [INFO] [stderr] | [INFO] [stderr] note: required by `next_value` [INFO] [stderr] --> $DIR/mod.rs:1842:5 [INFO] [stderr] | [INFO] [stderr] 1842 | / fn next_value(&mut self) -> Result [INFO] [stderr] 1843 | | where [INFO] [stderr] 1844 | | V: Deserialize<'de>, [INFO] [stderr] | |____________________________^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test pass-signed-int.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-signed-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-signed-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-signed-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-signed-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-signed-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-signed-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-signed-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-signed-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `i8: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1i8` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(i8, 1i8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-signed-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-signed-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `i16: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:41:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1i16` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(i16, 1i16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-signed-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-signed-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `i32: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1i32` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(i32, 1i32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-signed-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-signed-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `i64: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:43:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1i64` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(i64, 1i64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-signed-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-signed-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `i128: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1i128` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(i128, 1i128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-signed-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-signed-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `isize: From` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1isize` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-signed-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-signed-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(isize, 1isize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test pass-skip.rs [should pass] ... ok [INFO] [stderr] test pass-string.rs [should pass] ... ok [INFO] [stderr] test pass-unsigned-int.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Synonym)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: Synonym supports only tuple structs with single unnamed field. Enums, unions and generic type parameters are not supported [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1u8` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 40 | check!(u8, 1u8); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `u16: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:41:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1u16` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 41 | check!(u16, 1u16); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `u32: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1u32` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 42 | check!(u32, 1u32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `u64: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:43:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1u64` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 43 | check!(u64, 1u64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `u128: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1u128` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 44 | check!(u128, 1u128); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | check_partial_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo == main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 48 | fn check_partial_eq(_: impl PartialEq) {} [INFO] [stderr] | --------- required by this bound in `check_partial_eq` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialEq` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::cmp::Eq` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | check_eq(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::cmp::Eq` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 49 | fn check_eq(_: impl Eq) {} [INFO] [stderr] | -- required by this bound in `check_eq` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `main::Foo` with `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | check_partial_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo < main::Foo` and `main::Foo > main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 50 | fn check_partial_ord(_: impl PartialOrd) {} [INFO] [stderr] | ---------- required by this bound in `check_partial_ord` [INFO] [stderr] | [INFO] [stderr] = help: the trait `PartialOrd` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Ord` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | check_ord(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Ord` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 51 | fn check_ord(_: impl Ord) {} [INFO] [stderr] | --- required by this bound in `check_ord` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Clone` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | check_clone(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Clone` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 52 | fn check_clone(_: impl Clone) {} [INFO] [stderr] | ----- required by this bound in `check_clone` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: std::marker::Copy` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | check_copy(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 53 | fn check_copy(_: impl Copy) {} [INFO] [stderr] | ---- required by this bound in `check_copy` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Hash` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | check_hash(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Hash` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 54 | fn check_hash(_: impl core::hash::Hash) {} [INFO] [stderr] | ---------------- required by this bound in `check_hash` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: Default` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | check_default(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 55 | fn check_default(_: impl Default) {} [INFO] [stderr] | ------- required by this bound in `check_default` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `Debug` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | check_debug(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted using `{:?}` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 56 | fn check_debug(_: impl core::fmt::Debug) {} [INFO] [stderr] | ---------------- required by this bound in `check_debug` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `main::Foo` [INFO] [stderr] = note: add `#[derive(Debug)]` to `main::Foo` or manually `impl Debug for main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Foo` doesn't implement `std::fmt::Display` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | check_display(Foo($v)); [INFO] [stderr] | ^^^^^^^ `main::Foo` cannot be formatted with the default formatter [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 57 | fn check_display(_: impl core::fmt::Display) {} [INFO] [stderr] | ------------------ required by this bound in `check_display` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `main::Foo` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: AsRef` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn check_as_ref(_: impl AsRef<$t>) {} [INFO] [stderr] | --------- required by this bound in `main::check_as_ref` [INFO] [stderr] ... [INFO] [stderr] 23 | check_as_ref(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `AsRef` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn check_from(_: impl From<$t>) {} [INFO] [stderr] | -------- required by this bound in `main::check_from` [INFO] [stderr] ... [INFO] [stderr] 24 | check_from(Foo($v)); [INFO] [stderr] | ^^^^^^^ expected an implementor of trait `From` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 11 | fn check_from_inner(_: impl From) {} [INFO] [stderr] | --------- required by this bound in `main::check_from_inner` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `From` [INFO] [stderr] | help: consider borrowing here: `&1usize` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Foo: FromStr` is not satisfied [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | check_from_str(Foo($v)); [INFO] [stderr] | ^^^^^^^ the trait `FromStr` is not implemented for `main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 58 | fn check_from_str(_: impl core::str::FromStr) {} [INFO] [stderr] | ------------------ required by this bound in `check_from_str` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | check_add(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 59 | fn check_add>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_add` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | check_sub(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 60 | fn check_sub>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_sub` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | check_mul(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 61 | fn check_mul>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_mul` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | check_div(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo + main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_div>(_: T) {} [INFO] [stderr] | ----------------- required by this bound in `check_div` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Add` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add-assign `main::Foo` to `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | check_add_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo += main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 63 | fn check_add_assign(_: impl core::ops::AddAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_add_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `AddAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot subtract-assign `main::Foo` from `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | check_sub_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo -= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 64 | fn check_sub_assign(_: impl core::ops::SubAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_sub_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `SubAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | check_mul_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo *= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 65 | fn check_mul_assign(_: impl core::ops::MulAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_mul_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `MulAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot divide-assign `main::Foo` by `main::Foo` [INFO] [stderr] --> $DIR/pass-unsigned-int.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | check_div_assign(Foo($v)); [INFO] [stderr] | ^^^^^^^ no implementation for `main::Foo /= main::Foo` [INFO] [stderr] ... [INFO] [stderr] 45 | check!(usize, 1usize); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 66 | fn check_div_assign(_: impl core::ops::DivAssign) {} [INFO] [stderr] | -------------------- required by this bound in `check_div_assign` [INFO] [stderr] | [INFO] [stderr] = help: the trait `DivAssign` is not implemented for `main::Foo` [INFO] [stderr] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test fail-enum.rs [should fail to compile] ... ok [INFO] [stderr] test fail-generics.rs [should fail to compile] ... ok [INFO] [stderr] test fail-named-field.rs [should fail to compile] ... ok [INFO] [stderr] test fail-two-fields.rs [should fail to compile] ... ok [INFO] [stderr] test fail-zero-fields.rs [should fail to compile] ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test tests ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests stdout ---- [INFO] [stdout] thread 'tests' panicked at '4 of 13 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.43/src/run.rs:73:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a450571d80 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55a450571d80 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a450571d80 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55a450571d80 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55a450596f8c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55a45056e1e5 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55a4505740ab - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55a4505740ab - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55a4505740ab - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55a450573bbc - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55a450574774 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55a450574257 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55a45057225c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55a4505741b9 - rust_begin_unwind [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55a450317cfb - std::panicking::begin_panic_fmt::hf70e90a601287d8b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x55a45034e0f2 - trybuild::run::::run::h5db7c597305490ae [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.43/src/run.rs:73:13 [INFO] [stdout] 16: 0x55a450352d64 - ::drop::h553e97bb6dcb0e80 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.43/src/lib.rs:306:13 [INFO] [stdout] 17: 0x55a450319bc7 - core::ptr::drop_in_place::h168628a710117400 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ptr/mod.rs:192:1 [INFO] [stdout] 18: 0x55a45031a585 - tests::tests::hf26fd0ee0eef5545 [INFO] [stdout] at /opt/rustwide/workdir/tests/progress.rs:7:1 [INFO] [stdout] 19: 0x55a45031a50a - tests::tests::{{closure}}::ha513c8e92a7fe259 [INFO] [stdout] at /opt/rustwide/workdir/tests/progress.rs:2:1 [INFO] [stdout] 20: 0x55a450319b6e - core::ops::function::FnOnce::call_once::h967794158c07810c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55a4505546f3 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55a4505546f3 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:578:5 [INFO] [stdout] 23: 0x55a450553168 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 24: 0x55a450553168 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 25: 0x55a450553168 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x55a450553168 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x55a450553168 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 28: 0x55a450553168 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:601:18 [INFO] [stdout] 29: 0x55a450553168 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:493:39 [INFO] [stdout] 30: 0x55a4505218ed - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:520:37 [INFO] [stdout] 31: 0x55a4505218ed - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x55a450526018 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 33: 0x55a450526018 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 34: 0x55a450526018 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x55a450526018 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x55a450526018 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 37: 0x55a450526018 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 38: 0x55a450526018 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55a45057a7e7 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55a45057a7e7 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 41: 0x55a45057a7e7 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 42: 0x7fa130c8f609 - start_thread [INFO] [stdout] 43: 0x7fa130a61293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 27.38s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test tests' [INFO] running `Command { std: "docker" "inspect" "9ff448f0a974acf9ec33376790826328f55506db1893cc5f477d4417010d305c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff448f0a974acf9ec33376790826328f55506db1893cc5f477d4417010d305c", kill_on_drop: false }` [INFO] [stdout] 9ff448f0a974acf9ec33376790826328f55506db1893cc5f477d4417010d305c