[INFO] crate checked_cast 0.0.3 is already in cache [INFO] extracting crate checked_cast 0.0.3 into work/ex/beta-1.38-1/sources/1.37.0/reg/checked_cast/0.0.3 [INFO] extracting crate checked_cast 0.0.3 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/checked_cast/0.0.3 [INFO] validating manifest of checked_cast-0.0.3 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 checked_cast-0.0.3 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 checked_cast-0.0.3 [INFO] finished frobbing checked_cast-0.0.3 [INFO] frobbed toml for checked_cast-0.0.3 written to work/ex/beta-1.38-1/sources/1.37.0/reg/checked_cast/0.0.3/Cargo.toml [INFO] started frobbing checked_cast-0.0.3 [INFO] finished frobbing checked_cast-0.0.3 [INFO] frobbed toml for checked_cast-0.0.3 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/checked_cast/0.0.3/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 checked_cast-0.0.3 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-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/checked_cast/0.0.3:/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] 64bbcaf651c601e9bcdd90cee2bcb7d214cbf31d3775bcd9bb5feffdb2bfe09f [INFO] running `"docker" "start" "-a" "64bbcaf651c601e9bcdd90cee2bcb7d214cbf31d3775bcd9bb5feffdb2bfe09f"` [INFO] [stderr] Compiling checked_cast v0.0.3 (/opt/crater/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.21s [INFO] running `"docker" "inspect" "64bbcaf651c601e9bcdd90cee2bcb7d214cbf31d3775bcd9bb5feffdb2bfe09f"` [INFO] running `"docker" "rm" "-f" "64bbcaf651c601e9bcdd90cee2bcb7d214cbf31d3775bcd9bb5feffdb2bfe09f"` [INFO] [stdout] 64bbcaf651c601e9bcdd90cee2bcb7d214cbf31d3775bcd9bb5feffdb2bfe09f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/checked_cast/0.0.3:/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] 7038f80fce522cddf12fd35d773fb2e2e23fa36c1c881b725fe184432db7886e [INFO] running `"docker" "start" "-a" "7038f80fce522cddf12fd35d773fb2e2e23fa36c1c881b725fe184432db7886e"` [INFO] [stderr] Compiling checked_cast v0.0.3 (/opt/crater/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.45s [INFO] running `"docker" "inspect" "7038f80fce522cddf12fd35d773fb2e2e23fa36c1c881b725fe184432db7886e"` [INFO] running `"docker" "rm" "-f" "7038f80fce522cddf12fd35d773fb2e2e23fa36c1c881b725fe184432db7886e"` [INFO] [stdout] 7038f80fce522cddf12fd35d773fb2e2e23fa36c1c881b725fe184432db7886e [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/checked_cast/0.0.3:/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] 50e2e66d81d8f3924822bef40080a6c474ba43ce3de464ac540b67cf22cf723a [INFO] running `"docker" "start" "-a" "50e2e66d81d8f3924822bef40080a6c474ba43ce3de464ac540b67cf22cf723a"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/crater/target/debug/deps/checked_cast-4cbc6505b2ed62a9 [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[E0658]: The attribute `should_fail` is currently unknown to the compiler and may have meaning added to it in the future [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] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [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" "50e2e66d81d8f3924822bef40080a6c474ba43ce3de464ac540b67cf22cf723a"` [INFO] running `"docker" "rm" "-f" "50e2e66d81d8f3924822bef40080a6c474ba43ce3de464ac540b67cf22cf723a"` [INFO] [stdout] 50e2e66d81d8f3924822bef40080a6c474ba43ce3de464ac540b67cf22cf723a