[INFO] updating cached repository jsanders/rust-bignum [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jsanders/rust-bignum [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jsanders/rust-bignum" "work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/jsanders/rust-bignum"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/jsanders/rust-bignum'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jsanders/rust-bignum" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/jsanders/rust-bignum"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/jsanders/rust-bignum'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3fdf3dc4e0429afd7b8322395690b0f7d41106cb [INFO] sha for GitHub repo jsanders/rust-bignum: 3fdf3dc4e0429afd7b8322395690b0f7d41106cb [INFO] validating manifest of jsanders/rust-bignum on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jsanders/rust-bignum on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jsanders/rust-bignum [INFO] removed path dependency rust-gmp from jsanders/rust-bignum [INFO] finished frobbing jsanders/rust-bignum [INFO] frobbed toml for jsanders/rust-bignum written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/jsanders/rust-bignum/Cargo.toml [INFO] started frobbing jsanders/rust-bignum [INFO] removed path dependency rust-gmp from jsanders/rust-bignum [INFO] finished frobbing jsanders/rust-bignum [INFO] frobbed toml for jsanders/rust-bignum written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/jsanders/rust-bignum/Cargo.toml [INFO] crate jsanders/rust-bignum already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/jsanders/rust-bignum/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-lang/num` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/rust-lang/num` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking jsanders/rust-bignum against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-7/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/jsanders/rust-bignum:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d90165181edfd83dde35401dffc891f92fe4873011db97034077748944a28784 [INFO] running `"docker" "start" "-a" "d90165181edfd83dde35401dffc891f92fe4873011db97034077748944a28784"` [INFO] [stderr] warning: dependency (rust-gmp) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking rust-gmp v0.5.0 [INFO] [stderr] Checking num v0.2.0 (https://github.com/rust-lang/num#f0022772) [INFO] [stderr] Checking rust-bignum v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:78:29 [INFO] [stderr] | [INFO] [stderr] 78 | macro_rules! impl_to_biguint( [INFO] [stderr] | _____________________________^ [INFO] [stderr] 79 | | ($T:ty, $from_ty:path) => { [INFO] [stderr] 80 | | impl ToBigUint for $T { [INFO] [stderr] 81 | | fn to_biguint(&self) -> Option { [INFO] [stderr] ... | [INFO] [stderr] 85 | | } [INFO] [stderr] 86 | | ) [INFO] [stderr] | |_^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 78 | macro_rules! impl_to_biguint { [INFO] [stderr] 79 | ($T:ty, $from_ty:path) => { [INFO] [stderr] 80 | impl ToBigUint for $T { [INFO] [stderr] 81 | fn to_biguint(&self) -> Option { [INFO] [stderr] 82 | $from_ty(*self) [INFO] [stderr] 83 | } [INFO] [stderr] ... [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 86 | ); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:88:17 [INFO] [stderr] | [INFO] [stderr] 88 | impl_to_biguint!(int, FromPrimitive::from_int) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 88 | impl_to_biguint! {int, FromPrimitive::from_int} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 88 | impl_to_biguint!(int, FromPrimitive::from_int); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:89:17 [INFO] [stderr] | [INFO] [stderr] 89 | impl_to_biguint!(i8, FromPrimitive::from_i8) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 89 | impl_to_biguint! {i8, FromPrimitive::from_i8} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 89 | impl_to_biguint!(i8, FromPrimitive::from_i8); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | impl_to_biguint!(i16, FromPrimitive::from_i16) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 90 | impl_to_biguint! {i16, FromPrimitive::from_i16} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 90 | impl_to_biguint!(i16, FromPrimitive::from_i16); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:91:17 [INFO] [stderr] | [INFO] [stderr] 91 | impl_to_biguint!(i32, FromPrimitive::from_i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 91 | impl_to_biguint! {i32, FromPrimitive::from_i32} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 91 | impl_to_biguint!(i32, FromPrimitive::from_i32); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | impl_to_biguint!(i64, FromPrimitive::from_i64) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 92 | impl_to_biguint! {i64, FromPrimitive::from_i64} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 92 | impl_to_biguint!(i64, FromPrimitive::from_i64); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | impl_to_biguint!(uint, FromPrimitive::from_uint) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 93 | impl_to_biguint! {uint, FromPrimitive::from_uint} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 93 | impl_to_biguint!(uint, FromPrimitive::from_uint); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | impl_to_biguint!(u8, FromPrimitive::from_u8) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 94 | impl_to_biguint! {u8, FromPrimitive::from_u8} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 94 | impl_to_biguint!(u8, FromPrimitive::from_u8); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | impl_to_biguint!(u16, FromPrimitive::from_u16) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 95 | impl_to_biguint! {u16, FromPrimitive::from_u16} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 95 | impl_to_biguint!(u16, FromPrimitive::from_u16); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | impl_to_biguint!(u32, FromPrimitive::from_u32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 96 | impl_to_biguint! {u32, FromPrimitive::from_u32} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 96 | impl_to_biguint!(u32, FromPrimitive::from_u32); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | impl_to_biguint!(u64, FromPrimitive::from_u64) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 97 | impl_to_biguint! {u64, FromPrimitive::from_u64} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 97 | impl_to_biguint!(u64, FromPrimitive::from_u64); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:365:19 [INFO] [stderr] | [INFO] [stderr] 365 | let two = 2u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:390:21 [INFO] [stderr] | [INFO] [stderr] 390 | let three = 3u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:396:21 [INFO] [stderr] | [INFO] [stderr] 396 | let three = 3u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:397:20 [INFO] [stderr] | [INFO] [stderr] 397 | let four = 4u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:403:19 [INFO] [stderr] | [INFO] [stderr] 403 | let two = 2u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:404:24 [INFO] [stderr] | [INFO] [stderr] 404 | let also_two = 2u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:405:21 [INFO] [stderr] | [INFO] [stderr] 405 | let three = 3u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0658]: non-builtin inner attributes are unstable [INFO] [stderr] --> src/bignum/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #![comment = "Bignum library for Rust"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/54726 [INFO] [stderr] = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:78:29 [INFO] [stderr] | [INFO] [stderr] 78 | macro_rules! impl_to_biguint( [INFO] [stderr] | _____________________________^ [INFO] [stderr] 79 | | ($T:ty, $from_ty:path) => { [INFO] [stderr] 80 | | impl ToBigUint for $T { [INFO] [stderr] 81 | | fn to_biguint(&self) -> Option { [INFO] [stderr] ... | [INFO] [stderr] 85 | | } [INFO] [stderr] 86 | | ) [INFO] [stderr] | |_^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 78 | macro_rules! impl_to_biguint { [INFO] [stderr] 79 | ($T:ty, $from_ty:path) => { [INFO] [stderr] 80 | impl ToBigUint for $T { [INFO] [stderr] 81 | fn to_biguint(&self) -> Option { [INFO] [stderr] 82 | $from_ty(*self) [INFO] [stderr] 83 | } [INFO] [stderr] ... [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 86 | ); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:88:17 [INFO] [stderr] | [INFO] [stderr] 88 | impl_to_biguint!(int, FromPrimitive::from_int) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 88 | impl_to_biguint! {int, FromPrimitive::from_int} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 88 | impl_to_biguint!(int, FromPrimitive::from_int); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:89:17 [INFO] [stderr] | [INFO] [stderr] 89 | impl_to_biguint!(i8, FromPrimitive::from_i8) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 89 | impl_to_biguint! {i8, FromPrimitive::from_i8} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 89 | impl_to_biguint!(i8, FromPrimitive::from_i8); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | impl_to_biguint!(i16, FromPrimitive::from_i16) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 90 | impl_to_biguint! {i16, FromPrimitive::from_i16} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 90 | impl_to_biguint!(i16, FromPrimitive::from_i16); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:91:17 [INFO] [stderr] | [INFO] [stderr] 91 | impl_to_biguint!(i32, FromPrimitive::from_i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 91 | impl_to_biguint! {i32, FromPrimitive::from_i32} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 91 | impl_to_biguint!(i32, FromPrimitive::from_i32); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | impl_to_biguint!(i64, FromPrimitive::from_i64) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 92 | impl_to_biguint! {i64, FromPrimitive::from_i64} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 92 | impl_to_biguint!(i64, FromPrimitive::from_i64); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | impl_to_biguint!(uint, FromPrimitive::from_uint) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 93 | impl_to_biguint! {uint, FromPrimitive::from_uint} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 93 | impl_to_biguint!(uint, FromPrimitive::from_uint); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | impl_to_biguint!(u8, FromPrimitive::from_u8) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 94 | impl_to_biguint! {u8, FromPrimitive::from_u8} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 94 | impl_to_biguint!(u8, FromPrimitive::from_u8); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | impl_to_biguint!(u16, FromPrimitive::from_u16) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 95 | impl_to_biguint! {u16, FromPrimitive::from_u16} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 95 | impl_to_biguint!(u16, FromPrimitive::from_u16); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | impl_to_biguint!(u32, FromPrimitive::from_u32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 96 | impl_to_biguint! {u32, FromPrimitive::from_u32} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 96 | impl_to_biguint!(u32, FromPrimitive::from_u32); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stderr] --> src/bignum/lib.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | impl_to_biguint!(u64, FromPrimitive::from_u64) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: change the delimiters to curly braces [INFO] [stderr] | [INFO] [stderr] 97 | impl_to_biguint! {u64, FromPrimitive::from_u64} [INFO] [stderr] | ^ ^ [INFO] [stderr] help: add a semicolon [INFO] [stderr] | [INFO] [stderr] 97 | impl_to_biguint!(u64, FromPrimitive::from_u64); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:365:19 [INFO] [stderr] | [INFO] [stderr] 365 | let two = 2u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:390:21 [INFO] [stderr] | [INFO] [stderr] 390 | let three = 3u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:396:21 [INFO] [stderr] | [INFO] [stderr] 396 | let three = 3u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:397:20 [INFO] [stderr] | [INFO] [stderr] 397 | let four = 4u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:403:19 [INFO] [stderr] | [INFO] [stderr] 403 | let two = 2u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:404:24 [INFO] [stderr] | [INFO] [stderr] 404 | let also_two = 2u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bignum/lib.rs:405:21 [INFO] [stderr] | [INFO] [stderr] 405 | let three = 3u.to_biguint().unwrap(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0658]: non-builtin inner attributes are unstable [INFO] [stderr] --> src/bignum/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #![comment = "Bignum library for Rust"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/54726 [INFO] [stderr] = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `gmp::Mpz`, `gmp::RandState` [INFO] [stderr] --> src/bignum/lib.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | use gmp::{Mpz, RandState}; [INFO] [stderr] | ^^^ ^^^^^^^^^ no `RandState` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Mpz` in the root [INFO] [stderr] | help: a similar name exists in the module: `mpz` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::from_str` [INFO] [stderr] --> src/bignum/lib.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | use std::from_str::FromStr; [INFO] [stderr] | ^^^^^^^^ could not find `from_str` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::num::One`, `std::num::Zero`, `std::num::ToStrRadix` [INFO] [stderr] --> src/bignum/lib.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | use std::num::{One, Zero, ToStrRadix}; [INFO] [stderr] | ^^^ ^^^^ ^^^^^^^^^^ no `ToStrRadix` in `num` [INFO] [stderr] | | | [INFO] [stderr] | | no `Zero` in `num` [INFO] [stderr] | no `One` in `num` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `comment` in this scope [INFO] [stderr] --> src/bignum/lib.rs:3:4 [INFO] [stderr] | [INFO] [stderr] 3 | #![comment = "Bignum library for Rust"] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/bignum/lib.rs:21:3 [INFO] [stderr] | [INFO] [stderr] 21 | #[deriving(Clone, PartialEq, Eq, PartialOrd, Ord, Zero)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | write!(f, "{}", self.to_str_radix(10)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail!` in this scope [INFO] [stderr] --> src/bignum/lib.rs:165:32 [INFO] [stderr] | [INFO] [stderr] 165 | fn neg(&self) -> BigUint { fail!() } [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/bignum/lib.rs:205:3 [INFO] [stderr] | [INFO] [stderr] 205 | #[deriving(Clone, PartialEq, Eq, PartialOrd, Ord, Zero)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:250:9 [INFO] [stderr] | [INFO] [stderr] 250 | write!(f, "{}", self.to_str_radix(10)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:54:32 [INFO] [stderr] | [INFO] [stderr] 54 | let mpz: Option = FromPrimitive::from_u64(other); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:65:36 [INFO] [stderr] | [INFO] [stderr] 65 | let mpz: Option = FromPrimitive::from_i64(other); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:88:24 [INFO] [stderr] | [INFO] [stderr] 88 | impl_to_biguint!(int, FromPrimitive::from_int) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:89:24 [INFO] [stderr] | [INFO] [stderr] 89 | impl_to_biguint!(i8, FromPrimitive::from_i8) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:90:24 [INFO] [stderr] | [INFO] [stderr] 90 | impl_to_biguint!(i16, FromPrimitive::from_i16) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:91:24 [INFO] [stderr] | [INFO] [stderr] 91 | impl_to_biguint!(i32, FromPrimitive::from_i32) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:92:24 [INFO] [stderr] | [INFO] [stderr] 92 | impl_to_biguint!(i64, FromPrimitive::from_i64) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:93:24 [INFO] [stderr] | [INFO] [stderr] 93 | impl_to_biguint!(uint, FromPrimitive::from_uint) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] error[E0432]: unresolved imports `gmp::Mpz`, `gmp::RandState` [INFO] [stderr] --> src/bignum/lib.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | use gmp::{Mpz, RandState}; [INFO] [stderr] | ^^^ ^^^^^^^^^ no `RandState` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Mpz` in the root [INFO] [stderr] | help: a similar name exists in the module: `mpz` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:94:24 [INFO] [stderr] | [INFO] [stderr] 94 | impl_to_biguint!(u8, FromPrimitive::from_u8) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:95:24 [INFO] [stderr] | [INFO] [stderr] 95 | impl_to_biguint!(u16, FromPrimitive::from_u16) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | impl_to_biguint!(u32, FromPrimitive::from_u32) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:97:24 [INFO] [stderr] | [INFO] [stderr] 97 | impl_to_biguint!(u64, FromPrimitive::from_u64) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::from_str` [INFO] [stderr] --> src/bignum/lib.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | use std::from_str::FromStr; [INFO] [stderr] | ^^^^^^^^ could not find `from_str` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::num::One`, `std::num::Zero`, `std::num::ToStrRadix` [INFO] [stderr] --> src/bignum/lib.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | use std::num::{One, Zero, ToStrRadix}; [INFO] [stderr] | ^^^ ^^^^ ^^^^^^^^^^ no `ToStrRadix` in `num` [INFO] [stderr] | | | [INFO] [stderr] | | no `Zero` in `num` [INFO] [stderr] | no `One` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::from_str` [INFO] [stderr] --> src/bignum/lib.rs:359:14 [INFO] [stderr] | [INFO] [stderr] 359 | use std::from_str::FromStr; [INFO] [stderr] | ^^^^^^^^ could not find `from_str` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::num::Zero`, `std::num::One` [INFO] [stderr] --> src/bignum/lib.rs:360:20 [INFO] [stderr] | [INFO] [stderr] 360 | use std::num::{Zero, One}; [INFO] [stderr] | ^^^^ ^^^ no `One` in `num` [INFO] [stderr] | | [INFO] [stderr] | no `Zero` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/bignum/lib.rs:361:14 [INFO] [stderr] | [INFO] [stderr] 361 | use std::rand::task_rng; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::num::Zero`, `std::num::One` [INFO] [stderr] --> src/bignum/lib.rs:571:20 [INFO] [stderr] | [INFO] [stderr] 571 | use std::num::{Zero, One}; [INFO] [stderr] | ^^^^ ^^^ no `One` in `num` [INFO] [stderr] | | [INFO] [stderr] | no `Zero` in `num` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `comment` in this scope [INFO] [stderr] --> src/bignum/lib.rs:3:4 [INFO] [stderr] | [INFO] [stderr] 3 | #![comment = "Bignum library for Rust"] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/bignum/lib.rs:21:3 [INFO] [stderr] | [INFO] [stderr] 21 | #[deriving(Clone, PartialEq, Eq, PartialOrd, Ord, Zero)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | write!(f, "{}", self.to_str_radix(10)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail!` in this scope [INFO] [stderr] --> src/bignum/lib.rs:165:32 [INFO] [stderr] | [INFO] [stderr] 165 | fn neg(&self) -> BigUint { fail!() } [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/bignum/lib.rs:205:3 [INFO] [stderr] | [INFO] [stderr] 205 | #[deriving(Clone, PartialEq, Eq, PartialOrd, Ord, Zero)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:250:9 [INFO] [stderr] | [INFO] [stderr] 250 | write!(f, "{}", self.to_str_radix(10)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:54:32 [INFO] [stderr] | [INFO] [stderr] 54 | let mpz: Option = FromPrimitive::from_u64(other); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:65:36 [INFO] [stderr] | [INFO] [stderr] 65 | let mpz: Option = FromPrimitive::from_i64(other); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:88:24 [INFO] [stderr] | [INFO] [stderr] 88 | impl_to_biguint!(int, FromPrimitive::from_int) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:89:24 [INFO] [stderr] | [INFO] [stderr] 89 | impl_to_biguint!(i8, FromPrimitive::from_i8) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:90:24 [INFO] [stderr] | [INFO] [stderr] 90 | impl_to_biguint!(i16, FromPrimitive::from_i16) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:91:24 [INFO] [stderr] | [INFO] [stderr] 91 | impl_to_biguint!(i32, FromPrimitive::from_i32) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:92:24 [INFO] [stderr] | [INFO] [stderr] 92 | impl_to_biguint!(i64, FromPrimitive::from_i64) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:93:24 [INFO] [stderr] | [INFO] [stderr] 93 | impl_to_biguint!(uint, FromPrimitive::from_uint) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:94:24 [INFO] [stderr] | [INFO] [stderr] 94 | impl_to_biguint!(u8, FromPrimitive::from_u8) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:95:24 [INFO] [stderr] | [INFO] [stderr] 95 | impl_to_biguint!(u16, FromPrimitive::from_u16) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | impl_to_biguint!(u32, FromPrimitive::from_u32) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:97:24 [INFO] [stderr] | [INFO] [stderr] 97 | impl_to_biguint!(u64, FromPrimitive::from_u64) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:226:32 [INFO] [stderr] | [INFO] [stderr] 226 | let mpz: Option = FromPrimitive::from_u64(other); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:234:32 [INFO] [stderr] | [INFO] [stderr] 234 | let mpz: Option = FromPrimitive::from_i64(other); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:27:43 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn from_str_radix(s: &str, radix: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:35:27 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn bits(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `FromPrimitive` in this scope [INFO] [stderr] --> src/bignum/lib.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | impl FromPrimitive for BigUint { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 13 | use num::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] 13 | use num::cast::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] 13 | use num::traits::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bignum/lib.rs:88:18 [INFO] [stderr] | [INFO] [stderr] 88 | impl_to_biguint!(int, FromPrimitive::from_int) [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:93:18 [INFO] [stderr] | [INFO] [stderr] 93 | impl_to_biguint!(uint, FromPrimitive::from_uint) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:110:35 [INFO] [stderr] | [INFO] [stderr] 110 | fn to_str_radix(&self, radix: uint) -> String { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/bignum/lib.rs:115:11 [INFO] [stderr] | [INFO] [stderr] 115 | impl fmt::Show for BigUint { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Add` in this scope [INFO] [stderr] --> src/bignum/lib.rs:121:6 [INFO] [stderr] | [INFO] [stderr] 121 | impl Add for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Add; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Sub` in this scope [INFO] [stderr] --> src/bignum/lib.rs:127:6 [INFO] [stderr] | [INFO] [stderr] 127 | impl Sub for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Sub; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Mul` in this scope [INFO] [stderr] --> src/bignum/lib.rs:133:6 [INFO] [stderr] | [INFO] [stderr] 133 | impl Mul for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Mul; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Div` in this scope [INFO] [stderr] --> src/bignum/lib.rs:139:6 [INFO] [stderr] | [INFO] [stderr] 139 | impl Div for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Div; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Rem` in this scope [INFO] [stderr] --> src/bignum/lib.rs:145:6 [INFO] [stderr] | [INFO] [stderr] 145 | impl Rem for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Rem; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `BitAnd` in this scope [INFO] [stderr] --> src/bignum/lib.rs:151:6 [INFO] [stderr] | [INFO] [stderr] 151 | impl BitAnd for BigUint { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::BitAnd; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Shr` in this scope [INFO] [stderr] --> src/bignum/lib.rs:157:6 [INFO] [stderr] | [INFO] [stderr] 157 | impl Shr for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Shr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:157:10 [INFO] [stderr] | [INFO] [stderr] 157 | impl Shr for BigUint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:158:25 [INFO] [stderr] | [INFO] [stderr] 158 | fn shr(&self, rhs: &uint) -> BigUint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Neg` in this scope [INFO] [stderr] --> src/bignum/lib.rs:164:6 [INFO] [stderr] | [INFO] [stderr] 164 | impl Neg for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Neg; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Num` in this scope [INFO] [stderr] --> src/bignum/lib.rs:168:6 [INFO] [stderr] | [INFO] [stderr] 168 | impl Num for BigUint {} [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 13 | use num::Num; [INFO] [stderr] | [INFO] [stderr] 13 | use num::traits::Num; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `FromPrimitive` in this scope [INFO] [stderr] --> src/bignum/lib.rs:224:6 [INFO] [stderr] | [INFO] [stderr] 224 | impl FromPrimitive for BigInt { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 13 | use num::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] 13 | use num::cast::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] 13 | use num::traits::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:243:35 [INFO] [stderr] | [INFO] [stderr] 243 | fn to_str_radix(&self, radix: uint) -> String { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/bignum/lib.rs:248:11 [INFO] [stderr] | [INFO] [stderr] 248 | impl fmt::Show for BigInt { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Add` in this scope [INFO] [stderr] --> src/bignum/lib.rs:254:6 [INFO] [stderr] | [INFO] [stderr] 254 | impl Add for BigInt { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Add; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Sub` in this scope [INFO] [stderr] --> src/bignum/lib.rs:260:6 [INFO] [stderr] | [INFO] [stderr] 260 | impl Sub for BigInt { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Sub; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Mul` in this scope [INFO] [stderr] --> src/bignum/lib.rs:266:6 [INFO] [stderr] | [INFO] [stderr] 266 | impl Mul for BigInt { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:226:32 [INFO] [stderr] | [INFO] [stderr] 226 | let mpz: Option = FromPrimitive::from_u64(other); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:234:32 [INFO] [stderr] | [INFO] [stderr] 234 | let mpz: Option = FromPrimitive::from_i64(other); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Mul; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Div` in this scope [INFO] [stderr] --> src/bignum/lib.rs:272:6 [INFO] [stderr] | [INFO] [stderr] 272 | impl Div for BigInt { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Div; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Rem` in this scope [INFO] [stderr] --> src/bignum/lib.rs:278:6 [INFO] [stderr] | [INFO] [stderr] 278 | impl Rem for BigInt { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Rem; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:306:41 [INFO] [stderr] | [INFO] [stderr] 306 | fn gen_biguint(&mut self, bit_size: uint) -> BigUint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:327:41 [INFO] [stderr] | [INFO] [stderr] 327 | fn gen_biguint(&mut self, bit_size: uint) -> BigUint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | extern crate libc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | extern crate rand; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use libc::c_ulong; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use rand::Rng; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:326:9 [INFO] [stderr] | [INFO] [stderr] 326 | impl RandBigInt for R { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:159:29 [INFO] [stderr] | [INFO] [stderr] 159 | let shift = *rhs as c_ulong; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:329:19 [INFO] [stderr] | [INFO] [stderr] 329 | let seed: c_ulong = self.gen(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:331:50 [INFO] [stderr] | [INFO] [stderr] 331 | let mpz = state.urandom_2exp(bit_size as c_ulong); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:340:19 [INFO] [stderr] | [INFO] [stderr] 340 | let seed: c_ulong = self.gen(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 79 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `rust-bignum`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:363:7 [INFO] [stderr] | [INFO] [stderr] 363 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:370:7 [INFO] [stderr] | [INFO] [stderr] 370 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:376:7 [INFO] [stderr] | [INFO] [stderr] 376 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:382:7 [INFO] [stderr] | [INFO] [stderr] 382 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:388:7 [INFO] [stderr] | [INFO] [stderr] 388 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:394:7 [INFO] [stderr] | [INFO] [stderr] 394 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:398:9 [INFO] [stderr] | [INFO] [stderr] 398 | assert!(three.to_bigint().unwrap() - four.to_bigint().unwrap() < Zero::zero()) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:401:7 [INFO] [stderr] | [INFO] [stderr] 401 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:415:7 [INFO] [stderr] | [INFO] [stderr] 415 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:423:7 [INFO] [stderr] | [INFO] [stderr] 423 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:429:7 [INFO] [stderr] | [INFO] [stderr] 429 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:439:7 [INFO] [stderr] | [INFO] [stderr] 439 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:448:7 [INFO] [stderr] | [INFO] [stderr] 448 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:457:7 [INFO] [stderr] | [INFO] [stderr] 457 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:466:7 [INFO] [stderr] | [INFO] [stderr] 466 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:475:7 [INFO] [stderr] | [INFO] [stderr] 475 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:485:7 [INFO] [stderr] | [INFO] [stderr] 485 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:494:7 [INFO] [stderr] | [INFO] [stderr] 494 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:503:7 [INFO] [stderr] | [INFO] [stderr] 503 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:512:7 [INFO] [stderr] | [INFO] [stderr] 512 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:521:7 [INFO] [stderr] | [INFO] [stderr] 521 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:532:7 [INFO] [stderr] | [INFO] [stderr] 532 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:540:7 [INFO] [stderr] | [INFO] [stderr] 540 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:548:7 [INFO] [stderr] | [INFO] [stderr] 548 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:557:7 [INFO] [stderr] | [INFO] [stderr] 557 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:367:9 [INFO] [stderr] | [INFO] [stderr] 367 | assert_eq!(two.to_string(), also_two.to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:367:9 [INFO] [stderr] | [INFO] [stderr] 367 | assert_eq!(two.to_string(), also_two.to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:367:9 [INFO] [stderr] | [INFO] [stderr] 367 | assert_eq!(two.to_string(), also_two.to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:367:9 [INFO] [stderr] | [INFO] [stderr] 367 | assert_eq!(two.to_string(), also_two.to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:373:9 [INFO] [stderr] | [INFO] [stderr] 373 | assert_eq!(two.to_string().as_slice(), "2"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:373:9 [INFO] [stderr] | [INFO] [stderr] 373 | assert_eq!(two.to_string().as_slice(), "2"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:373:9 [INFO] [stderr] | [INFO] [stderr] 373 | assert_eq!(two.to_string().as_slice(), "2"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:373:9 [INFO] [stderr] | [INFO] [stderr] 373 | assert_eq!(two.to_string().as_slice(), "2"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:372:28 [INFO] [stderr] | [INFO] [stderr] 372 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:379:9 [INFO] [stderr] | [INFO] [stderr] 379 | assert_eq!(two.to_string().as_slice(), "2"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:379:9 [INFO] [stderr] | [INFO] [stderr] 379 | assert_eq!(two.to_string().as_slice(), "2"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:379:9 [INFO] [stderr] | [INFO] [stderr] 379 | assert_eq!(two.to_string().as_slice(), "2"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:379:9 [INFO] [stderr] | [INFO] [stderr] 379 | assert_eq!(two.to_string().as_slice(), "2"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:385:9 [INFO] [stderr] | [INFO] [stderr] 385 | assert_eq!(two.to_string().as_slice(), "26"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:385:9 [INFO] [stderr] | [INFO] [stderr] 385 | assert_eq!(two.to_string().as_slice(), "26"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:385:9 [INFO] [stderr] | [INFO] [stderr] 385 | assert_eq!(two.to_string().as_slice(), "26"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:385:9 [INFO] [stderr] | [INFO] [stderr] 385 | assert_eq!(two.to_string().as_slice(), "26"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:391:9 [INFO] [stderr] | [INFO] [stderr] 391 | assert_eq!(three.to_string().as_slice(), "3"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:391:9 [INFO] [stderr] | [INFO] [stderr] 391 | assert_eq!(three.to_string().as_slice(), "3"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:391:9 [INFO] [stderr] | [INFO] [stderr] 391 | assert_eq!(three.to_string().as_slice(), "3"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:391:9 [INFO] [stderr] | [INFO] [stderr] 391 | assert_eq!(three.to_string().as_slice(), "3"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:406:9 [INFO] [stderr] | [INFO] [stderr] 406 | assert!(two == also_two); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:407:9 [INFO] [stderr] | [INFO] [stderr] 407 | assert!(two >= also_two); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:408:9 [INFO] [stderr] | [INFO] [stderr] 408 | assert!(two <= also_two); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:409:9 [INFO] [stderr] | [INFO] [stderr] 409 | assert!(three > two); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:410:9 [INFO] [stderr] | [INFO] [stderr] 410 | assert!(three >= two); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:411:9 [INFO] [stderr] | [INFO] [stderr] 411 | assert!(two < three); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:412:9 [INFO] [stderr] | [INFO] [stderr] 412 | assert!(two <= three); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:419:9 [INFO] [stderr] | [INFO] [stderr] 419 | assert_eq!(zero.to_string().as_slice(), "0"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:419:9 [INFO] [stderr] | [INFO] [stderr] 419 | assert_eq!(zero.to_string().as_slice(), "0"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:419:9 [INFO] [stderr] | [INFO] [stderr] 419 | assert_eq!(zero.to_string().as_slice(), "0"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:419:9 [INFO] [stderr] | [INFO] [stderr] 419 | assert_eq!(zero.to_string().as_slice(), "0"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:420:9 [INFO] [stderr] | [INFO] [stderr] 420 | assert_eq!(one.to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:420:9 [INFO] [stderr] | [INFO] [stderr] 420 | assert_eq!(one.to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:420:9 [INFO] [stderr] | [INFO] [stderr] 420 | assert_eq!(one.to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:420:9 [INFO] [stderr] | [INFO] [stderr] 420 | assert_eq!(one.to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args_nl` [INFO] [stderr] --> src/bignum/lib.rs:426:9 [INFO] [stderr] | [INFO] [stderr] 426 | println!("{} == 2!", two); // Doesn't fail [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:425:28 [INFO] [stderr] | [INFO] [stderr] 425 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:432:9 [INFO] [stderr] | [INFO] [stderr] 432 | assert_eq!(three.bits(), 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:432:9 [INFO] [stderr] | [INFO] [stderr] 432 | assert_eq!(three.bits(), 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:432:9 [INFO] [stderr] | [INFO] [stderr] 432 | assert_eq!(three.bits(), 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:432:9 [INFO] [stderr] | [INFO] [stderr] 432 | assert_eq!(three.bits(), 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:435:9 [INFO] [stderr] | [INFO] [stderr] 435 | assert_eq!(max64.bits(), 64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:435:9 [INFO] [stderr] | [INFO] [stderr] 435 | assert_eq!(max64.bits(), 64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:435:9 [INFO] [stderr] | [INFO] [stderr] 435 | assert_eq!(max64.bits(), 64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:435:9 [INFO] [stderr] | [INFO] [stderr] 435 | assert_eq!(max64.bits(), 64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:436:9 [INFO] [stderr] | [INFO] [stderr] 436 | assert_eq!((max64 + three).bits(), 65); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:436:9 [INFO] [stderr] | [INFO] [stderr] 436 | assert_eq!((max64 + three).bits(), 65); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:436:9 [INFO] [stderr] | [INFO] [stderr] 436 | assert_eq!((max64 + three).bits(), 65); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:436:9 [INFO] [stderr] | [INFO] [stderr] 436 | assert_eq!((max64 + three).bits(), 65); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:431:30 [INFO] [stderr] | [INFO] [stderr] 431 | let three: BigUint = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:434:30 [INFO] [stderr] | [INFO] [stderr] 434 | let max64: BigUint = FromPrimitive::from_u64(u64::MAX).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:444:9 [INFO] [stderr] | [INFO] [stderr] 444 | assert_eq!(two.add(&three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:444:9 [INFO] [stderr] | [INFO] [stderr] 444 | assert_eq!(two.add(&three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:444:9 [INFO] [stderr] | [INFO] [stderr] 444 | assert_eq!(two.add(&three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:444:9 [INFO] [stderr] | [INFO] [stderr] 444 | assert_eq!(two.add(&three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:445:9 [INFO] [stderr] | [INFO] [stderr] 445 | assert_eq!((two + three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:445:9 [INFO] [stderr] | [INFO] [stderr] 445 | assert_eq!((two + three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:445:9 [INFO] [stderr] | [INFO] [stderr] 445 | assert_eq!((two + three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:445:9 [INFO] [stderr] | [INFO] [stderr] 445 | assert_eq!((two + three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:441:28 [INFO] [stderr] | [INFO] [stderr] 441 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:442:30 [INFO] [stderr] | [INFO] [stderr] 442 | let three: BigUint = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:453:9 [INFO] [stderr] | [INFO] [stderr] 453 | assert_eq!(three.sub(&two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:453:9 [INFO] [stderr] | [INFO] [stderr] 453 | assert_eq!(three.sub(&two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:453:9 [INFO] [stderr] | [INFO] [stderr] 453 | assert_eq!(three.sub(&two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:453:9 [INFO] [stderr] | [INFO] [stderr] 453 | assert_eq!(three.sub(&two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:454:9 [INFO] [stderr] | [INFO] [stderr] 454 | assert_eq!((three - two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:454:9 [INFO] [stderr] | [INFO] [stderr] 454 | assert_eq!((three - two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:454:9 [INFO] [stderr] | [INFO] [stderr] 454 | assert_eq!((three - two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:454:9 [INFO] [stderr] | [INFO] [stderr] 454 | assert_eq!((three - two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:450:28 [INFO] [stderr] | [INFO] [stderr] 450 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:451:30 [INFO] [stderr] | [INFO] [stderr] 451 | let three: BigUint = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:462:9 [INFO] [stderr] | [INFO] [stderr] 462 | assert_eq!(two.mul(&three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:462:9 [INFO] [stderr] | [INFO] [stderr] 462 | assert_eq!(two.mul(&three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:462:9 [INFO] [stderr] | [INFO] [stderr] 462 | assert_eq!(two.mul(&three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:462:9 [INFO] [stderr] | [INFO] [stderr] 462 | assert_eq!(two.mul(&three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:463:9 [INFO] [stderr] | [INFO] [stderr] 463 | assert_eq!((two * three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:463:9 [INFO] [stderr] | [INFO] [stderr] 463 | assert_eq!((two * three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:463:9 [INFO] [stderr] | [INFO] [stderr] 463 | assert_eq!((two * three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:463:9 [INFO] [stderr] | [INFO] [stderr] 463 | assert_eq!((two * three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:459:28 [INFO] [stderr] | [INFO] [stderr] 459 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:460:30 [INFO] [stderr] | [INFO] [stderr] 460 | let three: BigUint = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:471:9 [INFO] [stderr] | [INFO] [stderr] 471 | assert_eq!(two / two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:471:9 [INFO] [stderr] | [INFO] [stderr] 471 | assert_eq!(two / two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:471:9 [INFO] [stderr] | [INFO] [stderr] 471 | assert_eq!(two / two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:471:9 [INFO] [stderr] | [INFO] [stderr] 471 | assert_eq!(two / two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:472:9 [INFO] [stderr] | [INFO] [stderr] 472 | assert_eq!(two.div(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:472:9 [INFO] [stderr] | [INFO] [stderr] 472 | assert_eq!(two.div(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:472:9 [INFO] [stderr] | [INFO] [stderr] 472 | assert_eq!(two.div(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:472:9 [INFO] [stderr] | [INFO] [stderr] 472 | assert_eq!(two.div(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:468:28 [INFO] [stderr] | [INFO] [stderr] 468 | let one: BigUint = FromPrimitive::from_uint(1).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:469:28 [INFO] [stderr] | [INFO] [stderr] 469 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:481:9 [INFO] [stderr] | [INFO] [stderr] 481 | assert_eq!(three % two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:481:9 [INFO] [stderr] | [INFO] [stderr] 481 | assert_eq!(three % two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:481:9 [INFO] [stderr] | [INFO] [stderr] 481 | assert_eq!(three % two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:481:9 [INFO] [stderr] | [INFO] [stderr] 481 | assert_eq!(three % two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:482:9 [INFO] [stderr] | [INFO] [stderr] 482 | assert_eq!(three.rem(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:482:9 [INFO] [stderr] | [INFO] [stderr] 482 | assert_eq!(three.rem(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:482:9 [INFO] [stderr] | [INFO] [stderr] 482 | assert_eq!(three.rem(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:482:9 [INFO] [stderr] | [INFO] [stderr] 482 | assert_eq!(three.rem(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:477:28 [INFO] [stderr] | [INFO] [stderr] 477 | let one: BigUint = FromPrimitive::from_uint(1).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:478:28 [INFO] [stderr] | [INFO] [stderr] 478 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:479:30 [INFO] [stderr] | [INFO] [stderr] 479 | let three: BigUint = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:490:9 [INFO] [stderr] | [INFO] [stderr] 490 | assert_eq!(two & three, two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:490:9 [INFO] [stderr] | [INFO] [stderr] 490 | assert_eq!(two & three, two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:490:9 [INFO] [stderr] | [INFO] [stderr] 490 | assert_eq!(two & three, two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:490:9 [INFO] [stderr] | [INFO] [stderr] 490 | assert_eq!(two & three, two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:491:9 [INFO] [stderr] | [INFO] [stderr] 491 | assert_eq!(two.bitand(&three), two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:491:9 [INFO] [stderr] | [INFO] [stderr] 491 | assert_eq!(two.bitand(&three), two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:491:9 [INFO] [stderr] | [INFO] [stderr] 491 | assert_eq!(two.bitand(&three), two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:491:9 [INFO] [stderr] | [INFO] [stderr] 491 | assert_eq!(two.bitand(&three), two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:487:28 [INFO] [stderr] | [INFO] [stderr] 487 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:488:30 [INFO] [stderr] | [INFO] [stderr] 488 | let three: BigUint = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:499:9 [INFO] [stderr] | [INFO] [stderr] 499 | assert_eq!(two >> 1, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:499:9 [INFO] [stderr] | [INFO] [stderr] 499 | assert_eq!(two >> 1, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:499:9 [INFO] [stderr] | [INFO] [stderr] 499 | assert_eq!(two >> 1, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:499:9 [INFO] [stderr] | [INFO] [stderr] 499 | assert_eq!(two >> 1, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:500:9 [INFO] [stderr] | [INFO] [stderr] 500 | assert_eq!(two.shr(&1), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:500:9 [INFO] [stderr] | [INFO] [stderr] 500 | assert_eq!(two.shr(&1), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:500:9 [INFO] [stderr] | [INFO] [stderr] 500 | assert_eq!(two.shr(&1), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:500:9 [INFO] [stderr] | [INFO] [stderr] 500 | assert_eq!(two.shr(&1), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:496:28 [INFO] [stderr] | [INFO] [stderr] 496 | let one: BigUint = FromPrimitive::from_uint(1).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:497:28 [INFO] [stderr] | [INFO] [stderr] 497 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:508:9 [INFO] [stderr] | [INFO] [stderr] 508 | assert!(!two.is_odd()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:509:9 [INFO] [stderr] | [INFO] [stderr] 509 | assert!(three.is_odd()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:505:28 [INFO] [stderr] | [INFO] [stderr] 505 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:506:30 [INFO] [stderr] | [INFO] [stderr] 506 | let three: BigUint = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:517:9 [INFO] [stderr] | [INFO] [stderr] 517 | assert!(two.is_even()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:518:9 [INFO] [stderr] | [INFO] [stderr] 518 | assert!(!three.is_even()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:514:28 [INFO] [stderr] | [INFO] [stderr] 514 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:515:30 [INFO] [stderr] | [INFO] [stderr] 515 | let three: BigUint = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:527:9 [INFO] [stderr] | [INFO] [stderr] 527 | assert!(two.is_multiple_of(&six)); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:528:9 [INFO] [stderr] | [INFO] [stderr] 528 | assert!(three.is_multiple_of(&six)); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:529:9 [INFO] [stderr] | [INFO] [stderr] 529 | assert!(!two.is_multiple_of(&three)); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:523:28 [INFO] [stderr] | [INFO] [stderr] 523 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:524:30 [INFO] [stderr] | [INFO] [stderr] 524 | let three: BigUint = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:525:28 [INFO] [stderr] | [INFO] [stderr] 525 | let six: BigUint = FromPrimitive::from_uint(6).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:537:9 [INFO] [stderr] | [INFO] [stderr] 537 | assert_eq!(two.modulus(&three), two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:537:9 [INFO] [stderr] | [INFO] [stderr] 537 | assert_eq!(two.modulus(&three), two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:537:9 [INFO] [stderr] | [INFO] [stderr] 537 | assert_eq!(two.modulus(&three), two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:537:9 [INFO] [stderr] | [INFO] [stderr] 537 | assert_eq!(two.modulus(&three), two); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:534:28 [INFO] [stderr] | [INFO] [stderr] 534 | let two: BigUint = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:535:30 [INFO] [stderr] | [INFO] [stderr] 535 | let three: BigUint = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:545:9 [INFO] [stderr] | [INFO] [stderr] 545 | assert!(rand1.to_string() != rand2.to_string()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:554:9 [INFO] [stderr] | [INFO] [stderr] 554 | assert!(rand1.to_string() != rand2.to_string()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:551:28 [INFO] [stderr] | [INFO] [stderr] 551 | let max: BigUint = FromPrimitive::from_u64(u64::MAX).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert` [INFO] [stderr] --> src/bignum/lib.rs:564:9 [INFO] [stderr] | [INFO] [stderr] 564 | assert!(rand1.to_string() != rand2.to_string()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:560:28 [INFO] [stderr] | [INFO] [stderr] 560 | let min: BigUint = FromPrimitive::from_u32(u32::MAX).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:561:28 [INFO] [stderr] | [INFO] [stderr] 561 | let max: BigUint = FromPrimitive::from_u64(u64::MAX).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:573:7 [INFO] [stderr] | [INFO] [stderr] 573 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:581:7 [INFO] [stderr] | [INFO] [stderr] 581 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:589:7 [INFO] [stderr] | [INFO] [stderr] 589 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:598:7 [INFO] [stderr] | [INFO] [stderr] 598 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:607:7 [INFO] [stderr] | [INFO] [stderr] 607 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:616:7 [INFO] [stderr] | [INFO] [stderr] 616 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:625:7 [INFO] [stderr] | [INFO] [stderr] 625 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `test` [INFO] [stderr] --> src/bignum/lib.rs:635:7 [INFO] [stderr] | [INFO] [stderr] 635 | #[test] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:577:9 [INFO] [stderr] | [INFO] [stderr] 577 | assert_eq!(zero.to_string().as_slice(), "0"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:577:9 [INFO] [stderr] | [INFO] [stderr] 577 | assert_eq!(zero.to_string().as_slice(), "0"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:577:9 [INFO] [stderr] | [INFO] [stderr] 577 | assert_eq!(zero.to_string().as_slice(), "0"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:577:9 [INFO] [stderr] | [INFO] [stderr] 577 | assert_eq!(zero.to_string().as_slice(), "0"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:578:9 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(one.to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:578:9 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(one.to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:578:9 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(one.to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:578:9 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(one.to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:585:9 [INFO] [stderr] | [INFO] [stderr] 585 | assert_eq!(three.to_biguint().unwrap().to_string().as_slice(), "3"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:585:9 [INFO] [stderr] | [INFO] [stderr] 585 | assert_eq!(three.to_biguint().unwrap().to_string().as_slice(), "3"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:585:9 [INFO] [stderr] | [INFO] [stderr] 585 | assert_eq!(three.to_biguint().unwrap().to_string().as_slice(), "3"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:585:9 [INFO] [stderr] | [INFO] [stderr] 585 | assert_eq!(three.to_biguint().unwrap().to_string().as_slice(), "3"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:586:9 [INFO] [stderr] | [INFO] [stderr] 586 | assert_eq!(minusthree.to_biguint(), None); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:586:9 [INFO] [stderr] | [INFO] [stderr] 586 | assert_eq!(minusthree.to_biguint(), None); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:586:9 [INFO] [stderr] | [INFO] [stderr] 586 | assert_eq!(minusthree.to_biguint(), None); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:586:9 [INFO] [stderr] | [INFO] [stderr] 586 | assert_eq!(minusthree.to_biguint(), None); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:583:29 [INFO] [stderr] | [INFO] [stderr] 583 | let three: BigInt = FromPrimitive::from_int(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:584:34 [INFO] [stderr] | [INFO] [stderr] 584 | let minusthree: BigInt = FromPrimitive::from_int(-3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:594:9 [INFO] [stderr] | [INFO] [stderr] 594 | assert_eq!(two.add(&three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:594:9 [INFO] [stderr] | [INFO] [stderr] 594 | assert_eq!(two.add(&three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:594:9 [INFO] [stderr] | [INFO] [stderr] 594 | assert_eq!(two.add(&three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:594:9 [INFO] [stderr] | [INFO] [stderr] 594 | assert_eq!(two.add(&three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:595:9 [INFO] [stderr] | [INFO] [stderr] 595 | assert_eq!((two + three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:595:9 [INFO] [stderr] | [INFO] [stderr] 595 | assert_eq!((two + three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:595:9 [INFO] [stderr] | [INFO] [stderr] 595 | assert_eq!((two + three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:595:9 [INFO] [stderr] | [INFO] [stderr] 595 | assert_eq!((two + three).to_string().as_slice(), "5"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:591:27 [INFO] [stderr] | [INFO] [stderr] 591 | let two: BigInt = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:592:29 [INFO] [stderr] | [INFO] [stderr] 592 | let three: BigInt = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:603:9 [INFO] [stderr] | [INFO] [stderr] 603 | assert_eq!(three.sub(&two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:603:9 [INFO] [stderr] | [INFO] [stderr] 603 | assert_eq!(three.sub(&two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:603:9 [INFO] [stderr] | [INFO] [stderr] 603 | assert_eq!(three.sub(&two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:603:9 [INFO] [stderr] | [INFO] [stderr] 603 | assert_eq!(three.sub(&two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:604:9 [INFO] [stderr] | [INFO] [stderr] 604 | assert_eq!((three - two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:604:9 [INFO] [stderr] | [INFO] [stderr] 604 | assert_eq!((three - two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:604:9 [INFO] [stderr] | [INFO] [stderr] 604 | assert_eq!((three - two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:604:9 [INFO] [stderr] | [INFO] [stderr] 604 | assert_eq!((three - two).to_string().as_slice(), "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:600:27 [INFO] [stderr] | [INFO] [stderr] 600 | let two: BigInt = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:601:29 [INFO] [stderr] | [INFO] [stderr] 601 | let three: BigInt = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:612:9 [INFO] [stderr] | [INFO] [stderr] 612 | assert_eq!(two.mul(&three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:612:9 [INFO] [stderr] | [INFO] [stderr] 612 | assert_eq!(two.mul(&three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:612:9 [INFO] [stderr] | [INFO] [stderr] 612 | assert_eq!(two.mul(&three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:612:9 [INFO] [stderr] | [INFO] [stderr] 612 | assert_eq!(two.mul(&three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:613:9 [INFO] [stderr] | [INFO] [stderr] 613 | assert_eq!((two * three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:613:9 [INFO] [stderr] | [INFO] [stderr] 613 | assert_eq!((two * three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:613:9 [INFO] [stderr] | [INFO] [stderr] 613 | assert_eq!((two * three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:613:9 [INFO] [stderr] | [INFO] [stderr] 613 | assert_eq!((two * three).to_string().as_slice(), "6"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:609:27 [INFO] [stderr] | [INFO] [stderr] 609 | let two: BigInt = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:610:29 [INFO] [stderr] | [INFO] [stderr] 610 | let three: BigInt = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:621:9 [INFO] [stderr] | [INFO] [stderr] 621 | assert_eq!(two / two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:621:9 [INFO] [stderr] | [INFO] [stderr] 621 | assert_eq!(two / two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:621:9 [INFO] [stderr] | [INFO] [stderr] 621 | assert_eq!(two / two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:621:9 [INFO] [stderr] | [INFO] [stderr] 621 | assert_eq!(two / two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:622:9 [INFO] [stderr] | [INFO] [stderr] 622 | assert_eq!(two.div(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:622:9 [INFO] [stderr] | [INFO] [stderr] 622 | assert_eq!(two.div(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:622:9 [INFO] [stderr] | [INFO] [stderr] 622 | assert_eq!(two.div(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:622:9 [INFO] [stderr] | [INFO] [stderr] 622 | assert_eq!(two.div(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:618:27 [INFO] [stderr] | [INFO] [stderr] 618 | let one: BigInt = FromPrimitive::from_uint(1).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:619:27 [INFO] [stderr] | [INFO] [stderr] 619 | let two: BigInt = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:631:9 [INFO] [stderr] | [INFO] [stderr] 631 | assert_eq!(three % two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:631:9 [INFO] [stderr] | [INFO] [stderr] 631 | assert_eq!(three % two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:631:9 [INFO] [stderr] | [INFO] [stderr] 631 | assert_eq!(three % two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:631:9 [INFO] [stderr] | [INFO] [stderr] 631 | assert_eq!(three % two, one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:632:9 [INFO] [stderr] | [INFO] [stderr] 632 | assert_eq!(three.rem(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:632:9 [INFO] [stderr] | [INFO] [stderr] 632 | assert_eq!(three.rem(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:632:9 [INFO] [stderr] | [INFO] [stderr] 632 | assert_eq!(three.rem(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:632:9 [INFO] [stderr] | [INFO] [stderr] 632 | assert_eq!(three.rem(&two), one); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:627:27 [INFO] [stderr] | [INFO] [stderr] 627 | let one: BigInt = FromPrimitive::from_uint(1).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:628:27 [INFO] [stderr] | [INFO] [stderr] 628 | let two: BigInt = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:629:29 [INFO] [stderr] | [INFO] [stderr] 629 | let three: BigInt = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:641:9 [INFO] [stderr] | [INFO] [stderr] 641 | assert_eq!(two.modulus(&three), two.to_biguint().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:641:9 [INFO] [stderr] | [INFO] [stderr] 641 | assert_eq!(two.modulus(&three), two.to_biguint().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:641:9 [INFO] [stderr] | [INFO] [stderr] 641 | assert_eq!(two.modulus(&three), two.to_biguint().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:641:9 [INFO] [stderr] | [INFO] [stderr] 641 | assert_eq!(two.modulus(&three), two.to_biguint().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `format_args` [INFO] [stderr] --> src/bignum/lib.rs:642:9 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(minusone.modulus(&three), two.to_biguint().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `file` [INFO] [stderr] --> src/bignum/lib.rs:642:9 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(minusone.modulus(&three), two.to_biguint().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `line` [INFO] [stderr] --> src/bignum/lib.rs:642:9 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(minusone.modulus(&three), two.to_biguint().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `__rust_unstable_column` [INFO] [stderr] --> src/bignum/lib.rs:642:9 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(minusone.modulus(&three), two.to_biguint().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:637:32 [INFO] [stderr] | [INFO] [stderr] 637 | let minusone: BigInt = FromPrimitive::from_int(-1).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:638:27 [INFO] [stderr] | [INFO] [stderr] 638 | let two: BigInt = FromPrimitive::from_uint(2).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FromPrimitive` [INFO] [stderr] --> src/bignum/lib.rs:639:30 [INFO] [stderr] | [INFO] [stderr] 639 | let three: BigUint = FromPrimitive::from_uint(3).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `FromPrimitive` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:27:43 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn from_str_radix(s: &str, radix: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:35:27 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn bits(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `FromPrimitive` in this scope [INFO] [stderr] --> src/bignum/lib.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | impl FromPrimitive for BigUint { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 13 | use num::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] 13 | use num::cast::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] 13 | use num::traits::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bignum/lib.rs:88:18 [INFO] [stderr] | [INFO] [stderr] 88 | impl_to_biguint!(int, FromPrimitive::from_int) [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:93:18 [INFO] [stderr] | [INFO] [stderr] 93 | impl_to_biguint!(uint, FromPrimitive::from_uint) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:110:35 [INFO] [stderr] | [INFO] [stderr] 110 | fn to_str_radix(&self, radix: uint) -> String { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/bignum/lib.rs:115:11 [INFO] [stderr] | [INFO] [stderr] 115 | impl fmt::Show for BigUint { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Add` in this scope [INFO] [stderr] --> src/bignum/lib.rs:121:6 [INFO] [stderr] | [INFO] [stderr] 121 | impl Add for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Add; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Sub` in this scope [INFO] [stderr] --> src/bignum/lib.rs:127:6 [INFO] [stderr] | [INFO] [stderr] 127 | impl Sub for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Sub; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Mul` in this scope [INFO] [stderr] --> src/bignum/lib.rs:133:6 [INFO] [stderr] | [INFO] [stderr] 133 | impl Mul for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Mul; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Div` in this scope [INFO] [stderr] --> src/bignum/lib.rs:139:6 [INFO] [stderr] | [INFO] [stderr] 139 | impl Div for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Div; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Rem` in this scope [INFO] [stderr] --> src/bignum/lib.rs:145:6 [INFO] [stderr] | [INFO] [stderr] 145 | impl Rem for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Rem; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `BitAnd` in this scope [INFO] [stderr] --> src/bignum/lib.rs:151:6 [INFO] [stderr] | [INFO] [stderr] 151 | impl BitAnd for BigUint { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::BitAnd; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Shr` in this scope [INFO] [stderr] --> src/bignum/lib.rs:157:6 [INFO] [stderr] | [INFO] [stderr] 157 | impl Shr for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Shr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:157:10 [INFO] [stderr] | [INFO] [stderr] 157 | impl Shr for BigUint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:158:25 [INFO] [stderr] | [INFO] [stderr] 158 | fn shr(&self, rhs: &uint) -> BigUint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Neg` in this scope [INFO] [stderr] --> src/bignum/lib.rs:164:6 [INFO] [stderr] | [INFO] [stderr] 164 | impl Neg for BigUint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Neg; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Num` in this scope [INFO] [stderr] --> src/bignum/lib.rs:168:6 [INFO] [stderr] | [INFO] [stderr] 168 | impl Num for BigUint {} [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 13 | use num::Num; [INFO] [stderr] | [INFO] [stderr] 13 | use num::traits::Num; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `FromPrimitive` in this scope [INFO] [stderr] --> src/bignum/lib.rs:224:6 [INFO] [stderr] | [INFO] [stderr] 224 | impl FromPrimitive for BigInt { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 13 | use num::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] 13 | use num::cast::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] 13 | use num::traits::FromPrimitive; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:243:35 [INFO] [stderr] | [INFO] [stderr] 243 | fn to_str_radix(&self, radix: uint) -> String { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/bignum/lib.rs:248:11 [INFO] [stderr] | [INFO] [stderr] 248 | impl fmt::Show for BigInt { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Add` in this scope [INFO] [stderr] --> src/bignum/lib.rs:254:6 [INFO] [stderr] | [INFO] [stderr] 254 | impl Add for BigInt { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Add; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Sub` in this scope [INFO] [stderr] --> src/bignum/lib.rs:260:6 [INFO] [stderr] | [INFO] [stderr] 260 | impl Sub for BigInt { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Sub; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Mul` in this scope [INFO] [stderr] --> src/bignum/lib.rs:266:6 [INFO] [stderr] | [INFO] [stderr] 266 | impl Mul for BigInt { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Mul; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Div` in this scope [INFO] [stderr] --> src/bignum/lib.rs:272:6 [INFO] [stderr] | [INFO] [stderr] 272 | impl Div for BigInt { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Div; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Rem` in this scope [INFO] [stderr] --> src/bignum/lib.rs:278:6 [INFO] [stderr] | [INFO] [stderr] 278 | impl Rem for BigInt { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Rem; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:306:41 [INFO] [stderr] | [INFO] [stderr] 306 | fn gen_biguint(&mut self, bit_size: uint) -> BigUint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bignum/lib.rs:327:41 [INFO] [stderr] | [INFO] [stderr] 327 | fn gen_biguint(&mut self, bit_size: uint) -> BigUint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `ToBigInt` [INFO] [stderr] --> src/bignum/lib.rs:356:49 [INFO] [stderr] | [INFO] [stderr] 356 | use super::{BigUint, RandBigInt, ToBigUint, ToBigInt}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `num::Integer` [INFO] [stderr] --> src/bignum/lib.rs:357:9 [INFO] [stderr] | [INFO] [stderr] 357 | use num::Integer; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | extern crate libc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | extern crate rand; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use libc::c_ulong; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use rand::Rng; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:326:9 [INFO] [stderr] | [INFO] [stderr] 326 | impl RandBigInt for R { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:159:29 [INFO] [stderr] | [INFO] [stderr] 159 | let shift = *rhs as c_ulong; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:329:19 [INFO] [stderr] | [INFO] [stderr] 329 | let seed: c_ulong = self.gen(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:331:50 [INFO] [stderr] | [INFO] [stderr] 331 | let mpz = state.urandom_2exp(bit_size as c_ulong); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/bignum/lib.rs:340:19 [INFO] [stderr] | [INFO] [stderr] 340 | let seed: c_ulong = self.gen(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 345 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `rust-bignum`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d90165181edfd83dde35401dffc891f92fe4873011db97034077748944a28784"` [INFO] running `"docker" "rm" "-f" "d90165181edfd83dde35401dffc891f92fe4873011db97034077748944a28784"` [INFO] [stdout] d90165181edfd83dde35401dffc891f92fe4873011db97034077748944a28784