[INFO] crate int-enum 0.4.0 is already in cache [INFO] testing int-enum-0.4.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate int-enum 0.4.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate int-enum 0.4.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0323acac6514c0e4fa08fc54d811904304aa14b98b0a79dba469363155b0faf0 [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" "0323acac6514c0e4fa08fc54d811904304aa14b98b0a79dba469363155b0faf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0323acac6514c0e4fa08fc54d811904304aa14b98b0a79dba469363155b0faf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0323acac6514c0e4fa08fc54d811904304aa14b98b0a79dba469363155b0faf0", kill_on_drop: false }` [INFO] [stdout] 0323acac6514c0e4fa08fc54d811904304aa14b98b0a79dba469363155b0faf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0b42257df50cbdbd6ccabe23abede211151de9567e5ba7177ccfef51a972b4a5 [INFO] running `Command { std: "docker" "start" "-a" "0b42257df50cbdbd6ccabe23abede211151de9567e5ba7177ccfef51a972b4a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.37 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling int-enum-impl v0.4.0 [INFO] [stderr] Compiling int-enum v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.97s [INFO] running `Command { std: "docker" "inspect" "0b42257df50cbdbd6ccabe23abede211151de9567e5ba7177ccfef51a972b4a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b42257df50cbdbd6ccabe23abede211151de9567e5ba7177ccfef51a972b4a5", kill_on_drop: false }` [INFO] [stdout] 0b42257df50cbdbd6ccabe23abede211151de9567e5ba7177ccfef51a972b4a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ff3889928f31aebd346610ce46719861ab5a110b22afbb7b5001bbc46bbc4522 [INFO] running `Command { std: "docker" "start" "-a" "ff3889928f31aebd346610ce46719861ab5a110b22afbb7b5001bbc46bbc4522", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling trybuild v1.0.31 [INFO] [stderr] Compiling 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/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] 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] 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: 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[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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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: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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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: `int_enum::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: `int_enum::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 72 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 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: `int_enum::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: `int_enum::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: `int_enum::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[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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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 traits define an item `from_int`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::num::dec2flt::rawfp::RawFloat` [INFO] [stdout] candidate #2: `int_enum::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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ff3889928f31aebd346610ce46719861ab5a110b22afbb7b5001bbc46bbc4522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff3889928f31aebd346610ce46719861ab5a110b22afbb7b5001bbc46bbc4522", kill_on_drop: false }` [INFO] [stdout] ff3889928f31aebd346610ce46719861ab5a110b22afbb7b5001bbc46bbc4522