[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/beta-1.38-1/sources/1.37.0/gh/jsanders/rust-bignum"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/jsanders/rust-bignum'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jsanders/rust-bignum" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jsanders/rust-bignum"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jsanders/rust-bignum on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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/beta-1.38-1/sources/1.37.0/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/beta-1.38-1/sources/beta-2019-08-13/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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "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" "+beta-2019-08-13" "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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing jsanders/rust-bignum against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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=warn" "-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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] f55976d560ef9b3d7e87c7f40418f027c66f42f743225f11db9b054eef7691db [INFO] running `"docker" "start" "-a" "f55976d560ef9b3d7e87c7f40418f027c66f42f743225f11db9b054eef7691db"` [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] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rust-gmp v0.5.0 [INFO] [stderr] Compiling num v0.2.0 (https://github.com/rust-lang/num#f0022772) [INFO] [stderr] Compiling 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] [INFO] [stderr] error[E0658]: The attribute `comment` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/bignum/lib.rs:3:4 [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/29642 [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future [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] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future [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] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [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 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[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] 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[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/bignum/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #![feature(macro_rules)] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stderr] error: aborting due to 78 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0554, 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" "f55976d560ef9b3d7e87c7f40418f027c66f42f743225f11db9b054eef7691db"` [INFO] running `"docker" "rm" "-f" "f55976d560ef9b3d7e87c7f40418f027c66f42f743225f11db9b054eef7691db"` [INFO] [stdout] f55976d560ef9b3d7e87c7f40418f027c66f42f743225f11db9b054eef7691db