[INFO] crate checked_cast 0.0.3 is already in cache [INFO] testing checked_cast-0.0.3 against beta-2019-09-28 for beta-1.39-1 [INFO] extracting crate checked_cast 0.0.3 into work/builds/worker-1/source [INFO] validating manifest of crates.io crate checked_cast 0.0.3 on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate checked_cast 0.0.3 [INFO] finished tweaking crates.io crate checked_cast 0.0.3 [INFO] tweaked toml for crates.io crate checked_cast 0.0.3 written to work/builds/worker-1/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 423b1f52e835fbd3620ed619ecf5a3d0eae671de4184543236aa478f5c498ab1 [INFO] running `"docker" "start" "-a" "423b1f52e835fbd3620ed619ecf5a3d0eae671de4184543236aa478f5c498ab1"` [INFO] [stderr] Compiling checked_cast v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: unknown lint: `unstable` [INFO] [stderr] --> src/lib.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #![allow(unstable)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `"docker" "inspect" "423b1f52e835fbd3620ed619ecf5a3d0eae671de4184543236aa478f5c498ab1"` [INFO] running `"docker" "rm" "-f" "423b1f52e835fbd3620ed619ecf5a3d0eae671de4184543236aa478f5c498ab1"` [INFO] [stdout] 423b1f52e835fbd3620ed619ecf5a3d0eae671de4184543236aa478f5c498ab1 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] ee0db233466a72f537f32cfa30337b8f8f78f21dfcb1e00203f5797c1ddfcd8e [INFO] running `"docker" "start" "-a" "ee0db233466a72f537f32cfa30337b8f8f78f21dfcb1e00203f5797c1ddfcd8e"` [INFO] [stderr] Compiling checked_cast v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: unknown lint: `unstable` [INFO] [stderr] --> src/lib.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #![allow(unstable)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `"docker" "inspect" "ee0db233466a72f537f32cfa30337b8f8f78f21dfcb1e00203f5797c1ddfcd8e"` [INFO] running `"docker" "rm" "-f" "ee0db233466a72f537f32cfa30337b8f8f78f21dfcb1e00203f5797c1ddfcd8e"` [INFO] [stdout] ee0db233466a72f537f32cfa30337b8f8f78f21dfcb1e00203f5797c1ddfcd8e [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen"` [INFO] [stdout] 2fe746485db3fdf0dc84ad1eac1902c7a3569b407df3c08b8e40a220211a1e63 [INFO] running `"docker" "start" "-a" "2fe746485db3fdf0dc84ad1eac1902c7a3569b407df3c08b8e40a220211a1e63"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/checked_cast-57c2175eca0d0985 [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 checked_cast [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - core (line 7) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - core (line 7) stdout ---- [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/lib.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[should_fail] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 19 | let acast: Option = checked_cast!(a, libc::c_ulong); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 19 | let acast: Option = checked_cast!(a, libc::c_ulong); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 28 | let bcast: Option = checked_cast!(b, libc::c_int); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 28 | let bcast: Option = checked_cast!(b, libc::c_int); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 36 | let ccast: Option = checked_cast!(c, libc::c_uint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 36 | let ccast: Option = checked_cast!(c, libc::c_uint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 44 | let dcast: Option = checked_cast!(d, u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 44 | let dcast: Option = checked_cast!(d, u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 54 | let ecast: i16 = checked_cast!(e, i16).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 54 | let ecast: i16 = checked_cast!(e, i16).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 43 | let d: int = 2314; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 18 | let a: libc::c_short = -1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/lib.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 19 | let acast: Option = checked_cast!(a, libc::c_ulong); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/lib.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 19 | let acast: Option = checked_cast!(a, libc::c_ulong); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/lib.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 27 | let b: libc::c_longlong = 235234523; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/lib.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 28 | let bcast: Option = checked_cast!(b, libc::c_int); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/lib.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 28 | let bcast: Option = checked_cast!(b, libc::c_int); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 35 | let c: libc::c_short = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/lib.rs:42:56 [INFO] [stdout] | [INFO] [stdout] 36 | let ccast: Option = checked_cast!(c, libc::c_uint); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/lib.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 36 | let ccast: Option = checked_cast!(c, libc::c_uint); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - core (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "2fe746485db3fdf0dc84ad1eac1902c7a3569b407df3c08b8e40a220211a1e63"` [INFO] running `"docker" "rm" "-f" "2fe746485db3fdf0dc84ad1eac1902c7a3569b407df3c08b8e40a220211a1e63"` [INFO] [stdout] 2fe746485db3fdf0dc84ad1eac1902c7a3569b407df3c08b8e40a220211a1e63