[INFO] crate numtraits 0.0.1 is already in cache [INFO] extracting crate numtraits 0.0.1 into work/ex/beta-1.37-6/sources/1.36.0/reg/numtraits/0.0.1 [INFO] extracting crate numtraits 0.0.1 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/numtraits/0.0.1 [INFO] validating manifest of numtraits-0.0.1 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of numtraits-0.0.1 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/reg/numtraits/0.0.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing numtraits-0.0.1 against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "build" "--frozen"` [INFO] [stdout] 146d5d82196977a454c692f742229e0c168fcbfacb269f062e0e99f348dc06a6 [INFO] running `"docker" "start" "-a" "146d5d82196977a454c692f742229e0c168fcbfacb269f062e0e99f348dc06a6"` [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.12s [INFO] running `"docker" "inspect" "146d5d82196977a454c692f742229e0c168fcbfacb269f062e0e99f348dc06a6"` [INFO] running `"docker" "rm" "-f" "146d5d82196977a454c692f742229e0c168fcbfacb269f062e0e99f348dc06a6"` [INFO] [stdout] 146d5d82196977a454c692f742229e0c168fcbfacb269f062e0e99f348dc06a6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 40cfffc349bbb3fc07eb39e8a8439fa742a3db0d072f711e0bd18f2bd6724f2f [INFO] running `"docker" "start" "-a" "40cfffc349bbb3fc07eb39e8a8439fa742a3db0d072f711e0bd18f2bd6724f2f"` [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.53s [INFO] running `"docker" "inspect" "40cfffc349bbb3fc07eb39e8a8439fa742a3db0d072f711e0bd18f2bd6724f2f"` [INFO] running `"docker" "rm" "-f" "40cfffc349bbb3fc07eb39e8a8439fa742a3db0d072f711e0bd18f2bd6724f2f"` [INFO] [stdout] 40cfffc349bbb3fc07eb39e8a8439fa742a3db0d072f711e0bd18f2bd6724f2f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "test" "--frozen"` [INFO] [stdout] 68c31ecdf2fb2c5821d486c0efbb09e68a3094865fd326771001e7ff23e61984 [INFO] running `"docker" "start" "-a" "68c31ecdf2fb2c5821d486c0efbb09e68a3094865fd326771001e7ff23e61984"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/numtraits-c6acdf011207e433 [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 4) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... 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] thread 'src/lib.rs - (line 32)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7faeb7c98823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7faeb7c904cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7faeb7c94a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7faeb7c9477e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7faeb7c9515f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x55f67b589784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x55f67b57f68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x55f67b5737c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7faeb921bb7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7faeb921bb7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7faeb7ca6169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7faeb9236f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7faeb92109a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7faeb9214a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7faeb7ca6169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7faeb9215551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7faeb7c7736e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7faeb7ca4ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7faeb780e4a3 - start_thread [INFO] [stdout] 19: 0x7faeb7339d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [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] thread 'src/lib.rs - (line 4)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7faeb7c98823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7faeb7c904cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7faeb7c94a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7faeb7c9477e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7faeb7c9515f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x55f67b589784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x55f67b57f68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x55f67b5737c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7faeb921bb7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7faeb921bb7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7faeb7ca6169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7faeb9236f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7faeb92109a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7faeb9214a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7faeb7ca6169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7faeb9215551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7faeb7c7736e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7faeb7ca4ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7faeb780e4a3 - start_thread [INFO] [stdout] 19: 0x7faeb7339d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [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] thread 'src/lib.rs - (line 18)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7faeb7c98823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7faeb7c904cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7faeb7c94a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7faeb7c9477e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7faeb7c9515f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x55f67b589784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x55f67b57f68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x55f67b5737c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7faeb921bb7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7faeb921bb7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7faeb7ca6169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7faeb9236f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7faeb92109a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7faeb9214a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7faeb7ca6169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7faeb9215551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7faeb7c7736e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7faeb7ca4ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7faeb780e4a3 - start_thread [INFO] [stdout] 19: 0x7faeb7339d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [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] thread 'src/lib.rs - (line 43)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7faeb7c98823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7faeb7c904cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7faeb7c94a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7faeb7c9477e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7faeb7c9515f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x55f67b589784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x55f67b57f68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x55f67b5737c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7faeb921bb7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7faeb921bb7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7faeb7ca6169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7faeb9236f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7faeb92109a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7faeb9214a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7faeb7ca6169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7faeb9215551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7faeb7c7736e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7faeb7ca4ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7faeb780e4a3 - start_thread [INFO] [stdout] 19: 0x7faeb7339d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [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" "68c31ecdf2fb2c5821d486c0efbb09e68a3094865fd326771001e7ff23e61984"` [INFO] running `"docker" "rm" "-f" "68c31ecdf2fb2c5821d486c0efbb09e68a3094865fd326771001e7ff23e61984"` [INFO] [stdout] 68c31ecdf2fb2c5821d486c0efbb09e68a3094865fd326771001e7ff23e61984