[INFO] fetching crate int-enum 0.4.0... [INFO] checking int-enum-0.4.0 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate int-enum 0.4.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate int-enum 0.4.0 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate int-enum 0.4.0 [INFO] finished tweaking crates.io crate int-enum 0.4.0 [INFO] tweaked toml for crates.io crate int-enum 0.4.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7f7ee45d1688d0780388e0393e6d93ced1e99dfab6d380d4a9d5daa31688082 [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" "a7f7ee45d1688d0780388e0393e6d93ced1e99dfab6d380d4a9d5daa31688082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7f7ee45d1688d0780388e0393e6d93ced1e99dfab6d380d4a9d5daa31688082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f7ee45d1688d0780388e0393e6d93ced1e99dfab6d380d4a9d5daa31688082", kill_on_drop: false }` [INFO] [stdout] a7f7ee45d1688d0780388e0393e6d93ced1e99dfab6d380d4a9d5daa31688082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a39e34b49840c1a0fa2e7f8467fdc43095a8c9cecd2945a2a2301d1e2ec4d0c [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" "0a39e34b49840c1a0fa2e7f8467fdc43095a8c9cecd2945a2a2301d1e2ec4d0c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking trybuild v1.0.41 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling int-enum-impl v0.4.0 [INFO] [stderr] Checking int-enum v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/bounds.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Copy, Debug, Eq, PartialEq, IntEnum)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | / bounds_tests! { [INFO] [stdout] 65 | | (usize 0 18446744073709551615) [INFO] [stdout] 66 | | (isize -9223372036854775808 9223372036854775807) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: missing int-enum in `Cargo.toml`: "Could not find `int-enum` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`!" [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/bounds.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Copy, Debug, Eq, PartialEq, IntEnum)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: missing int-enum in `Cargo.toml`: "Could not find `int-enum` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`!" [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/basic.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Copy, Debug, Eq, PartialEq, IntEnum)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: missing int-enum in `Cargo.toml`: "Could not find `int-enum` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`!" [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/bounds.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Copy, Debug, Eq, PartialEq, IntEnum)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: missing int-enum in `Cargo.toml`: "Could not find `int-enum` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`!" [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/basic.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Copy, Debug, Eq, PartialEq, IntEnum)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: missing int-enum in `Cargo.toml`: "Could not find `int-enum` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`!" [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(1, Basic::One.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u8::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(2, Basic::Two.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u8::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(3, Basic::Three.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u8::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u8::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!($ty::min_value(), Bounds::Min.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u8::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(1, Basic::One.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u16::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u8::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!($ty::max_value(), Bounds::Max.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u8::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(2, Basic::Two.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u16::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(3, Basic::Three.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u16::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u16::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!($ty::min_value(), Bounds::Min.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u16::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(1, Basic::One.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u32::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(2, Basic::Two.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u32::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u16::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!($ty::max_value(), Bounds::Max.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u16::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(3, Basic::Three.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u32::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u32::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!($ty::min_value(), Bounds::Min.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u32::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(1, Basic::One.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u64::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(2, Basic::Two.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u64::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u32::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!($ty::max_value(), Bounds::Max.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u32::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(3, Basic::Three.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u64::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `usize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(1, Basic::One.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `usize::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u64::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!($ty::min_value(), Bounds::Min.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u64::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `usize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(2, Basic::Two.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `usize::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `u64::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!($ty::max_value(), Bounds::Max.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `u64::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `usize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(3, Basic::Three.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `usize::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i8::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!($ty::min_value(), Bounds::Min.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i8::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i8::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!($ty::max_value(), Bounds::Max.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i8::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(1, Basic::One.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i8::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(2, Basic::Two.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i8::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i16::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!($ty::min_value(), Bounds::Min.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i16::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(3, Basic::Three.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i8::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i16::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!($ty::max_value(), Bounds::Max.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i16::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(1, Basic::One.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i16::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i32::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!($ty::min_value(), Bounds::Min.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i32::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(2, Basic::Two.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i16::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(3, Basic::Three.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i16::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(1, Basic::One.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i32::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i32::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!($ty::max_value(), Bounds::Max.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i32::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(2, Basic::Two.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i32::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i64::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!($ty::min_value(), Bounds::Min.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i64::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(3, Basic::Three.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i32::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i64::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!($ty::max_value(), Bounds::Max.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i64::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `usize::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!($ty::min_value(), Bounds::Min.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `usize::Bounds` [INFO] [stdout] ... [INFO] [stdout] 64 | / bounds_tests! { [INFO] [stdout] 65 | | (usize 0 18446744073709551615) [INFO] [stdout] 66 | | (isize -9223372036854775808 9223372036854775807) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(1, Basic::One.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i64::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(2, Basic::Two.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i64::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `usize::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!($ty::max_value(), Bounds::Max.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `usize::Bounds` [INFO] [stdout] ... [INFO] [stdout] 64 | / bounds_tests! { [INFO] [stdout] 65 | | (usize 0 18446744073709551615) [INFO] [stdout] 66 | | (isize -9223372036854775808 9223372036854775807) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `i64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(3, Basic::Three.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `i64::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `isize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(1, Basic::One.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `isize::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `isize::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!($ty::min_value(), Bounds::Min.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `isize::Bounds` [INFO] [stdout] ... [INFO] [stdout] 64 | / bounds_tests! { [INFO] [stdout] 65 | | (usize 0 18446744073709551615) [INFO] [stdout] 66 | | (isize -9223372036854775808 9223372036854775807) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `isize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(2, Basic::Two.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `isize::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `isize::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!($ty::max_value(), Bounds::Max.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `isize::Bounds` [INFO] [stdout] ... [INFO] [stdout] 64 | / bounds_tests! { [INFO] [stdout] 65 | | (usize 0 18446744073709551615) [INFO] [stdout] 66 | | (isize -9223372036854775808 9223372036854775807) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `int_value` found for enum `isize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- method `int_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(3, Basic::Three.int_value()); [INFO] [stdout] | ^^^^^^^^^ method not found in `isize::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `int_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u8::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(Bounds::Min, Bounds::from_int($ty::min_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u8::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Basic::One, Basic::from_int(1).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u8::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u8::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Bounds::Max, Bounds::from_int($ty::max_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u8::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Basic::Two, Basic::from_int(2).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u8::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Basic::Three, Basic::from_int(3).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u8::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u16::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(Bounds::Min, Bounds::from_int($ty::min_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u16::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(Basic::from_int(4).is_err()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u8::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u16::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Bounds::Max, Bounds::from_int($ty::max_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u16::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Basic::One, Basic::from_int(1).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u16::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u32::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(Bounds::Min, Bounds::from_int($ty::min_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u32::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Basic::Two, Basic::from_int(2).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u16::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u32::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Bounds::Max, Bounds::from_int($ty::max_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u32::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Basic::Three, Basic::from_int(3).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u16::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u64::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(Bounds::Min, Bounds::from_int($ty::min_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u64::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(Basic::from_int(4).is_err()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u16::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u64::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Bounds::Max, Bounds::from_int($ty::max_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u64::Bounds` [INFO] [stdout] ... [INFO] [stdout] 31 | / bounds_tests! { [INFO] [stdout] 32 | | (u8 0 255) [INFO] [stdout] 33 | | (u16 0 65535) [INFO] [stdout] 34 | | (u32 0 4294967295) [INFO] [stdout] 35 | | (u64 0 18446744073709551615) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Basic::One, Basic::from_int(1).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u32::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i8::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(Bounds::Min, Bounds::from_int($ty::min_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i8::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Basic::Two, Basic::from_int(2).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u32::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i8::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Bounds::Max, Bounds::from_int($ty::max_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i8::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Basic::Three, Basic::from_int(3).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u32::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i16::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(Bounds::Min, Bounds::from_int($ty::min_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i16::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(Basic::from_int(4).is_err()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u32::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i16::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Bounds::Max, Bounds::from_int($ty::max_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i16::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Basic::One, Basic::from_int(1).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u64::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i32::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(Bounds::Min, Bounds::from_int($ty::min_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i32::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Basic::Two, Basic::from_int(2).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u64::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i32::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Bounds::Max, Bounds::from_int($ty::max_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i32::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Basic::Three, Basic::from_int(3).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u64::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i64::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(Bounds::Min, Bounds::from_int($ty::min_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i64::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i64::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Bounds::Max, Bounds::from_int($ty::max_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i64::Bounds` [INFO] [stdout] ... [INFO] [stdout] 38 | / bounds_tests! { [INFO] [stdout] 39 | | (i8 -128 127) [INFO] [stdout] 40 | | (i16 -32768 32767) [INFO] [stdout] 41 | | (i32 -2147483648 2147483647) [INFO] [stdout] 42 | | (i64 -9223372036854775808 9223372036854775807) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `usize::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(Bounds::Min, Bounds::from_int($ty::min_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `usize::Bounds` [INFO] [stdout] ... [INFO] [stdout] 64 | / bounds_tests! { [INFO] [stdout] 65 | | (usize 0 18446744073709551615) [INFO] [stdout] 66 | | (isize -9223372036854775808 9223372036854775807) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `u64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(Basic::from_int(4).is_err()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `u64::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `usize::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Bounds::Max, Bounds::from_int($ty::max_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `usize::Bounds` [INFO] [stdout] ... [INFO] [stdout] 64 | / bounds_tests! { [INFO] [stdout] 65 | | (usize 0 18446744073709551615) [INFO] [stdout] 66 | | (isize -9223372036854775808 9223372036854775807) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `usize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Basic::One, Basic::from_int(1).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `usize::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `usize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Basic::Two, Basic::from_int(2).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `usize::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `usize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Basic::Three, Basic::from_int(3).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `usize::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `usize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(Basic::from_int(4).is_err()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `usize::Basic` [INFO] [stdout] ... [INFO] [stdout] 36 | basic_tests!(u8 u16 u32 u64 usize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `isize::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(Bounds::Min, Bounds::from_int($ty::min_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `isize::Bounds` [INFO] [stdout] ... [INFO] [stdout] 64 | / bounds_tests! { [INFO] [stdout] 65 | | (usize 0 18446744073709551615) [INFO] [stdout] 66 | | (isize -9223372036854775808 9223372036854775807) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Basic::One, Basic::from_int(1).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i8::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Basic::Two, Basic::from_int(2).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i8::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Basic::Three, Basic::from_int(3).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i8::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i8::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(Basic::from_int(4).is_err()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i8::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `isize::Bounds` in the current scope [INFO] [stdout] --> tests/bounds.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Bounds { [INFO] [stdout] | --------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Bounds::Max, Bounds::from_int($ty::max_value()).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `isize::Bounds` [INFO] [stdout] ... [INFO] [stdout] 64 | / bounds_tests! { [INFO] [stdout] 65 | | (usize 0 18446744073709551615) [INFO] [stdout] 66 | | (isize -9223372036854775808 9223372036854775807) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Basic::One, Basic::from_int(1).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i16::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Basic::Two, Basic::from_int(2).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i16::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Basic::Three, Basic::from_int(3).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i16::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i16::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(Basic::from_int(4).is_err()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i16::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Basic::One, Basic::from_int(1).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i32::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Basic::Two, Basic::from_int(2).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i32::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Basic::Three, Basic::from_int(3).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i32::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i32::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(Basic::from_int(4).is_err()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i32::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Basic::One, Basic::from_int(1).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i64::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Basic::Two, Basic::from_int(2).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i64::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Basic::Three, Basic::from_int(3).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i64::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `i64::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(Basic::from_int(4).is_err()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `i64::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `isize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Basic::One, Basic::from_int(1).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `isize::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `isize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Basic::Two, Basic::from_int(2).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `isize::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `isize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Basic::Three, Basic::from_int(3).unwrap()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `isize::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_int` found for enum `isize::Basic` in the current scope [INFO] [stdout] --> tests/basic.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Basic { [INFO] [stdout] | -------------- variant or associated item `from_int` not found here [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(Basic::from_int(4).is_err()); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `isize::Basic` [INFO] [stdout] ... [INFO] [stdout] 37 | basic_tests!(i8 i16 i32 i64 isize); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_int`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntEnum` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `int-enum` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 72 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0a39e34b49840c1a0fa2e7f8467fdc43095a8c9cecd2945a2a2301d1e2ec4d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a39e34b49840c1a0fa2e7f8467fdc43095a8c9cecd2945a2a2301d1e2ec4d0c", kill_on_drop: false }` [INFO] [stdout] 0a39e34b49840c1a0fa2e7f8467fdc43095a8c9cecd2945a2a2301d1e2ec4d0c