[INFO] crate numtraits 0.0.1 is already in cache [INFO] extracting crate numtraits 0.0.1 into work/ex/beta-1.38-1/sources/1.37.0/reg/numtraits/0.0.1 [INFO] extracting crate numtraits 0.0.1 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/numtraits/0.0.1 [INFO] validating manifest of numtraits-0.0.1 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 numtraits-0.0.1 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 numtraits-0.0.1 [INFO] finished frobbing numtraits-0.0.1 [INFO] frobbed toml for numtraits-0.0.1 written to work/ex/beta-1.38-1/sources/1.37.0/reg/numtraits/0.0.1/Cargo.toml [INFO] started frobbing numtraits-0.0.1 [INFO] finished frobbing numtraits-0.0.1 [INFO] frobbed toml for numtraits-0.0.1 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/numtraits/0.0.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing numtraits-0.0.1 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-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/numtraits/0.0.1:/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] 6856cee97feacbca5d4f594588ded09856ba0a1df69813f038da1067dc1e9601 [INFO] running `"docker" "start" "-a" "6856cee97feacbca5d4f594588ded09856ba0a1df69813f038da1067dc1e9601"` [INFO] [stderr] Compiling numtraits v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/lib.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | / macro_rules! from_to { [INFO] [stderr] 51 | | ($tr:ident, $f:ident, $t:ident) => { [INFO] [stderr] 52 | | impl $tr<$f> for $t { [INFO] [stderr] 53 | | fn from(x: $f) -> $t { x as $t } [INFO] [stderr] 54 | | } [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_macros)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `"docker" "inspect" "6856cee97feacbca5d4f594588ded09856ba0a1df69813f038da1067dc1e9601"` [INFO] running `"docker" "rm" "-f" "6856cee97feacbca5d4f594588ded09856ba0a1df69813f038da1067dc1e9601"` [INFO] [stdout] 6856cee97feacbca5d4f594588ded09856ba0a1df69813f038da1067dc1e9601 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/numtraits/0.0.1:/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" "test" "--frozen" "--no-run"` [INFO] [stdout] d925385e28b0dfb1bc49be39effcf98ed115bad265b8e87597894d5820f32fc2 [INFO] running `"docker" "start" "-a" "d925385e28b0dfb1bc49be39effcf98ed115bad265b8e87597894d5820f32fc2"` [INFO] [stderr] Compiling numtraits v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/lib.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | / macro_rules! from_to { [INFO] [stderr] 51 | | ($tr:ident, $f:ident, $t:ident) => { [INFO] [stderr] 52 | | impl $tr<$f> for $t { [INFO] [stderr] 53 | | fn from(x: $f) -> $t { x as $t } [INFO] [stderr] 54 | | } [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_macros)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `doit` [INFO] [stderr] --> src/lib.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | fn doit>() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `"docker" "inspect" "d925385e28b0dfb1bc49be39effcf98ed115bad265b8e87597894d5820f32fc2"` [INFO] running `"docker" "rm" "-f" "d925385e28b0dfb1bc49be39effcf98ed115bad265b8e87597894d5820f32fc2"` [INFO] [stdout] d925385e28b0dfb1bc49be39effcf98ed115bad265b8e87597894d5820f32fc2 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/numtraits/0.0.1:/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" "test" "--frozen"` [INFO] [stdout] 64deca0a74d365fc3314a1f955a5fc119a0b371c64ad67a5e6c8ac8f77e9ca27 [INFO] running `"docker" "start" "-a" "64deca0a74d365fc3314a1f955a5fc119a0b371c64ad67a5e6c8ac8f77e9ca27"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/numtraits-9e8893cca57537ea [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests numtraits [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - (line 4) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UpCastAs` [INFO] [stdout] --> src/lib.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 4 | let _: T = UpCastAs::from(10u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `UpCastAs` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UpCastAs` [INFO] [stdout] --> src/lib.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 5 | let _: T = UpCastAs::from(10u16); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `UpCastAs` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UpCastAs` in this scope [INFO] [stdout] --> src/lib.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 3 | fn example>() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `UpCastAs` in this scope [INFO] [stdout] --> src/lib.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 3 | fn example>() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 4 | let _: T = cast(10u8); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 5 | let _ = cast::(10u8); // Alternate syntax, uglier. [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 6 | let _: T = cast(10u16); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 7 | let _: T = cast(10u32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 8 | let _: T = cast(10u64); // Error, u64 > u32 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 9 | let _: T = cast(10f32); // Error, f32 > u32 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 10 | let _: T = cast(10f64); // Error, f32 > u32 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 43) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `UpCastAs` in this scope [INFO] [stdout] --> src/lib.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 3 | fn example>() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 4) stdout ---- [INFO] [stdout] error: chained comparison operators require parentheses [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` if you meant to specify type arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error: chained comparison operators require parentheses [INFO] [stdout] --> src/lib.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` if you meant to specify type arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error: chained comparison operators require parentheses [INFO] [stdout] --> src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` if you meant to specify type arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error: chained comparison operators require parentheses [INFO] [stdout] --> src/lib.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` if you meant to specify type arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `f64` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | - expected one of 8 possible tokens here [INFO] [stdout] 4 | f64 > f32 > i64 > i32 > i16 > i8 [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `f64` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `f32` [INFO] [stdout] --> src/lib.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `u64` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `u32` [INFO] [stdout] --> src/lib.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `u16` [INFO] [stdout] --> src/lib.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `u8` [INFO] [stdout] --> src/lib.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found bool [INFO] [stdout] | [INFO] [stdout] = note: expected type `()` [INFO] [stdout] found type `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] src/lib.rs - (line 4) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "64deca0a74d365fc3314a1f955a5fc119a0b371c64ad67a5e6c8ac8f77e9ca27"` [INFO] running `"docker" "rm" "-f" "64deca0a74d365fc3314a1f955a5fc119a0b371c64ad67a5e6c8ac8f77e9ca27"` [INFO] [stdout] 64deca0a74d365fc3314a1f955a5fc119a0b371c64ad67a5e6c8ac8f77e9ca27