[INFO] fetching crate synonym 0.0.5... [INFO] testing synonym-0.0.5 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate synonym 0.0.5 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate synonym 0.0.5 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76a5363253f9d9308a0c2719826c60d3ecc3ac8dd29c95f27de89caf14615d03 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "76a5363253f9d9308a0c2719826c60d3ecc3ac8dd29c95f27de89caf14615d03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76a5363253f9d9308a0c2719826c60d3ecc3ac8dd29c95f27de89caf14615d03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a5363253f9d9308a0c2719826c60d3ecc3ac8dd29c95f27de89caf14615d03", kill_on_drop: false }` [INFO] [stdout] 76a5363253f9d9308a0c2719826c60d3ecc3ac8dd29c95f27de89caf14615d03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 049bce95ce85d8cc0d2f65743a137879db662100f1953b99bfd1119141d6dd5f [INFO] running `Command { std: "docker" "start" "-a" "049bce95ce85d8cc0d2f65743a137879db662100f1953b99bfd1119141d6dd5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.9.3 [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] Finished dev [unoptimized + debuginfo] target(s) in 30.52s [INFO] running `Command { std: "docker" "inspect" "049bce95ce85d8cc0d2f65743a137879db662100f1953b99bfd1119141d6dd5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "049bce95ce85d8cc0d2f65743a137879db662100f1953b99bfd1119141d6dd5f", kill_on_drop: false }` [INFO] [stdout] 049bce95ce85d8cc0d2f65743a137879db662100f1953b99bfd1119141d6dd5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df20188f64810a0082dbb7bdd51ff354b1bb7878c86f59eb6ed4e715f4fad74c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "df20188f64810a0082dbb7bdd51ff354b1bb7878c86f59eb6ed4e715f4fad74c", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Compiling synonym v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 30.24s [INFO] running `Command { std: "docker" "inspect" "df20188f64810a0082dbb7bdd51ff354b1bb7878c86f59eb6ed4e715f4fad74c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df20188f64810a0082dbb7bdd51ff354b1bb7878c86f59eb6ed4e715f4fad74c", kill_on_drop: false }` [INFO] [stdout] df20188f64810a0082dbb7bdd51ff354b1bb7878c86f59eb6ed4e715f4fad74c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e258cc3c125d4902d0af7b2ea2b34fa5e354ed12aa81620bc4c026f31a9473a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3e258cc3c125d4902d0af7b2ea2b34fa5e354ed12aa81620bc4c026f31a9473a", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/synonym-276fb88eef57f828) [INFO] [stdout] [INFO] [stderr] Running tests/progress.rs (/opt/rustwide/target/debug/deps/tests-e6bfec0e67fb3504) [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] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [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 serde_derive v1.0.126 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling synonym v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stdout] test tests has been running for over 60 seconds [INFO] [stderr] Compiling synonym-tests v0.0.0 (/opt/rustwide/target/tests/synonym) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2221:17 [INFO] [stderr] | [INFO] [stderr] 2221 | 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)]` or manually implement `Debug` [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2221:17 [INFO] [stderr] | [INFO] [stderr] 2221 | 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)]` or manually implement `Debug` [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2221:17 [INFO] [stderr] | [INFO] [stderr] 2221 | 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)]` or manually implement `Debug` [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2221:17 [INFO] [stderr] | [INFO] [stderr] 2221 | 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)]` or manually implement `Debug` [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2221:17 [INFO] [stderr] | [INFO] [stderr] 2221 | 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)]` or manually implement `Debug` [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2221:17 [INFO] [stderr] | [INFO] [stderr] 2221 | 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)]` or manually implement `Debug` [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2221:17 [INFO] [stderr] | [INFO] [stderr] 2221 | 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)]` or manually implement `Debug` [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2221:17 [INFO] [stderr] | [INFO] [stderr] 2221 | 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)]` or manually implement `Debug` [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2221:17 [INFO] [stderr] | [INFO] [stderr] 2221 | 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)]` or manually implement `Debug` [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] [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] [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] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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)]` or manually implement `Debug` [INFO] [stderr] = note: 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] [stderr] error: test failed, to rerun pass '--test tests' [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.42/src/run.rs:73:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55b04ca9a3b0 - std::backtrace_rs::backtrace::libunwind::trace::h1037ca7e6eeef65c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55b04ca9a3b0 - std::backtrace_rs::backtrace::trace_unsynchronized::haaefac1bc3669450 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55b04ca9a3b0 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55b04ca9a3b0 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55b04cabf8ec - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55b04ca96925 - std::io::Write::write_fmt::h6f1a9b91376a1376 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55b04ca9c6cb - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55b04ca9c6cb - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55b04ca9c6cb - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55b04ca9c1dc - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55b04ca9cd71 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55b04ca9c877 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55b04ca9a88c - std::sys_common::backtrace::__rust_end_short_backtrace::h7641df9566f7b7d0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55b04ca9c7d9 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55b04c83edfb - std::panicking::begin_panic_fmt::hdc39c0cc0031e534 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x55b04c868e82 - trybuild::run::::run::h886d725ee7e060d3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/run.rs:73:13 [INFO] [stdout] 16: 0x55b04c86db02 - ::drop::had3f19a54ef89c61 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/lib.rs:305:13 [INFO] [stdout] 17: 0x55b04c840dd7 - core::ptr::drop_in_place::h25a8855e25ab134e [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ptr/mod.rs:192:1 [INFO] [stdout] 18: 0x55b04c840c95 - tests::tests::h087602cf4e5b673d [INFO] [stdout] at /opt/rustwide/workdir/tests/progress.rs:7:1 [INFO] [stdout] 19: 0x55b04c840c1a - tests::tests::{{closure}}::h7e8ee263ad76a466 [INFO] [stdout] at /opt/rustwide/workdir/tests/progress.rs:2:1 [INFO] [stdout] 20: 0x55b04c840d6e - core::ops::function::FnOnce::call_once::h9382f2bed066ce88 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55b04ca6fa93 - core::ops::function::FnOnce::call_once::h673fbe3f96486fd2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55b04ca6fa93 - test::__rust_begin_short_backtrace::h8eedc24e104ef6a0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:577:5 [INFO] [stdout] 23: 0x55b04ca6e540 - as core::ops::function::FnOnce>::call_once::h028d0969d3f94d78 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 24: 0x55b04ca6e540 - as core::ops::function::FnOnce<()>>::call_once::h7634b01590b1722b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 25: 0x55b04ca6e540 - std::panicking::try::do_call::hf74f869706dec63b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x55b04ca6e540 - std::panicking::try::hd0b7346ebfaaae44 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x55b04ca6e540 - std::panic::catch_unwind::hdbf6904f7c253080 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 28: 0x55b04ca6e540 - test::run_test_in_process::h87e95a014ac91067 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:600:18 [INFO] [stdout] 29: 0x55b04ca6e540 - test::run_test::run_test_inner::{{closure}}::hdd69ae44aaab3470 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55b04ca49812 - test::run_test::run_test_inner::{{closure}}::hc159305704d5b68a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55b04ca49812 - std::sys_common::backtrace::__rust_begin_short_backtrace::h33d8a8ad5f788fcc [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x55b04ca4d588 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6181011ddf4b8353 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 33: 0x55b04ca4d588 - as core::ops::function::FnOnce<()>>::call_once::hf924ea0a0f25a1c0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 34: 0x55b04ca4d588 - std::panicking::try::do_call::hd58061792d05fa5c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x55b04ca4d588 - std::panicking::try::h3080747417e5af37 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x55b04ca4d588 - std::panic::catch_unwind::hfeba515dcf36cb66 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 37: 0x55b04ca4d588 - std::thread::Builder::spawn_unchecked::{{closure}}::h29d57a62faff749b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 38: 0x55b04ca4d588 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h44709d312d2a9c59 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55b04caa2d27 - as core::ops::function::FnOnce>::call_once::h902e2cf6655e1b0c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x55b04caa2d27 - as core::ops::function::FnOnce>::call_once::h893a5452154309d1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 41: 0x55b04caa2d27 - std::sys::unix::thread::Thread::new::thread_start::hdedcb57c96ab37cd [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 42: 0x7f1cf01f1609 - start_thread [INFO] [stdout] 43: 0x7f1ceffc3293 - 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 69.50s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3e258cc3c125d4902d0af7b2ea2b34fa5e354ed12aa81620bc4c026f31a9473a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e258cc3c125d4902d0af7b2ea2b34fa5e354ed12aa81620bc4c026f31a9473a", kill_on_drop: false }` [INFO] [stdout] 3e258cc3c125d4902d0af7b2ea2b34fa5e354ed12aa81620bc4c026f31a9473a