[INFO] fetching crate float_to_int 0.1.0... [INFO] testing float_to_int-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate float_to_int 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate float_to_int 0.1.0 [INFO] finished tweaking crates.io crate float_to_int 0.1.0 [INFO] tweaked toml for crates.io crate float_to_int 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate float_to_int 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10068f86d48a8995b0344a21703f3ca030c96ab731af95c0d68c123912e718cd [INFO] running `Command { std: "docker" "start" "-a" "10068f86d48a8995b0344a21703f3ca030c96ab731af95c0d68c123912e718cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10068f86d48a8995b0344a21703f3ca030c96ab731af95c0d68c123912e718cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10068f86d48a8995b0344a21703f3ca030c96ab731af95c0d68c123912e718cd", kill_on_drop: false }` [INFO] [stdout] 10068f86d48a8995b0344a21703f3ca030c96ab731af95c0d68c123912e718cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1808c4a0b22aa0ea2a988d094535e4f2a768b32e6d79a09e82ac5e63c734647 [INFO] running `Command { std: "docker" "start" "-a" "c1808c4a0b22aa0ea2a988d094535e4f2a768b32e6d79a09e82ac5e63c734647", kill_on_drop: false }` [INFO] [stderr] Compiling float_to_int v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nighlty` [INFO] [stdout] --> src/float.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | if #[cfg(all(not(debug_assertions), feature = "nighlty"))] { [INFO] [stdout] | ^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nightly"` [INFO] [stdout] ... [INFO] [stdout] 109 | / impl_float! { [INFO] [stdout] 110 | | #[cfg(feature = "half")] [INFO] [stdout] 111 | | #[cfg_attr(docsrs, doc(cfg(feature = "half")))] [INFO] [stdout] 112 | | ::half::f16 as u16, [INFO] [stdout] 113 | | f32 as u32, [INFO] [stdout] 114 | | f64 as u64 [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `half`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `nighlty` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "c1808c4a0b22aa0ea2a988d094535e4f2a768b32e6d79a09e82ac5e63c734647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1808c4a0b22aa0ea2a988d094535e4f2a768b32e6d79a09e82ac5e63c734647", kill_on_drop: false }` [INFO] [stdout] c1808c4a0b22aa0ea2a988d094535e4f2a768b32e6d79a09e82ac5e63c734647 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec5fbced0f210d6bb4818f5cc3011dafbb2ea87c361b086261caefe6730a2019 [INFO] running `Command { std: "docker" "start" "-a" "ec5fbced0f210d6bb4818f5cc3011dafbb2ea87c361b086261caefe6730a2019", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `nighlty` [INFO] [stdout] --> src/float.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | if #[cfg(all(not(debug_assertions), feature = "nighlty"))] { [INFO] [stdout] | ^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nightly"` [INFO] [stdout] ... [INFO] [stdout] 109 | / impl_float! { [INFO] [stdout] 110 | | #[cfg(feature = "half")] [INFO] [stdout] 111 | | #[cfg_attr(docsrs, doc(cfg(feature = "half")))] [INFO] [stdout] 112 | | ::half::f16 as u16, [INFO] [stdout] 113 | | f32 as u32, [INFO] [stdout] 114 | | f64 as u64 [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `half`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `nighlty` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling float_to_int v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nighlty` [INFO] [stdout] --> src/float.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | if #[cfg(all(not(debug_assertions), feature = "nighlty"))] { [INFO] [stdout] | ^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nightly"` [INFO] [stdout] ... [INFO] [stdout] 109 | / impl_float! { [INFO] [stdout] 110 | | #[cfg(feature = "half")] [INFO] [stdout] 111 | | #[cfg_attr(docsrs, doc(cfg(feature = "half")))] [INFO] [stdout] 112 | | ::half::f16 as u16, [INFO] [stdout] 113 | | f32 as u32, [INFO] [stdout] 114 | | f64 as u64 [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `half`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `nighlty` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `Command { std: "docker" "inspect" "ec5fbced0f210d6bb4818f5cc3011dafbb2ea87c361b086261caefe6730a2019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec5fbced0f210d6bb4818f5cc3011dafbb2ea87c361b086261caefe6730a2019", kill_on_drop: false }` [INFO] [stdout] ec5fbced0f210d6bb4818f5cc3011dafbb2ea87c361b086261caefe6730a2019 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d1d98c9de2b845c331e23f64c0ecace4830af3d4d9f86c44698c3c9bc75b832 [INFO] running `Command { std: "docker" "start" "-a" "4d1d98c9de2b845c331e23f64c0ecace4830af3d4d9f86c44698c3c9bc75b832", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `nighlty` [INFO] [stderr] --> src/float.rs:35:61 [INFO] [stderr] | [INFO] [stderr] 35 | if #[cfg(all(not(debug_assertions), feature = "nighlty"))] { [INFO] [stderr] | ^^^^^^^^^^--------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"nightly"` [INFO] [stderr] ... [INFO] [stderr] 109 | / impl_float! { [INFO] [stderr] 110 | | #[cfg(feature = "half")] [INFO] [stderr] 111 | | #[cfg_attr(docsrs, doc(cfg(feature = "half")))] [INFO] [stderr] 112 | | ::half::f16 as u16, [INFO] [stderr] 113 | | f32 as u32, [INFO] [stderr] 114 | | f64 as u64 [INFO] [stderr] 115 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `half`, `nightly`, and `std` [INFO] [stderr] = help: consider adding `nighlty` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `float_to_int` (lib) generated 1 warning [INFO] [stderr] warning: `float_to_int` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/float_to_int-f04b96ac06df3ced) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test float::tests::test_f32 ... ok [INFO] [stdout] test float::tests::test_f64 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Doc-tests float_to_int [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/float.rs - float::FloatExt::is_integer (line 14) ... FAILED [INFO] [stdout] test src/float.rs - float::FloatExt::integer_classify (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/float.rs - float::FloatExt::is_integer (line 14) stdout ---- [INFO] [stdout] error[E0599]: no method named `is_integer` found for type `f32` in the current scope [INFO] [stdout] --> src/float.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 3 | assert!(1f32.is_integer()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `f32` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_integer` found for type `f64` in the current scope [INFO] [stdout] --> src/float.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(!3.14f64.is_integer()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/float.rs - float::FloatExt::integer_classify (line 5) stdout ---- [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/float.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(!3.14f64.integer_classify(), Err(FpCategory::Normal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 4 | assert!(!3.14f64.integer_classify(), "{}", Err(FpCategory::Normal)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `integer_classify` found for type `f32` in the current scope [INFO] [stdout] --> src/float.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(1f32.integer_classify(), Ok(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `classify` with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - assert_eq!(1f32.integer_classify(), Ok(())); [INFO] [stdout] 3 + assert_eq!(1f32.classify(), Ok(())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `integer_classify` found for type `f64` in the current scope [INFO] [stdout] --> src/float.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(!3.14f64.integer_classify(), Err(FpCategory::Normal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `classify` with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - assert!(!3.14f64.integer_classify(), Err(FpCategory::Normal)); [INFO] [stdout] 4 + assert!(!3.14f64.classify(), Err(FpCategory::Normal)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/float.rs - float::FloatExt::integer_classify (line 5) [INFO] [stdout] src/float.rs - float::FloatExt::is_integer (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4d1d98c9de2b845c331e23f64c0ecace4830af3d4d9f86c44698c3c9bc75b832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d1d98c9de2b845c331e23f64c0ecace4830af3d4d9f86c44698c3c9bc75b832", kill_on_drop: false }` [INFO] [stdout] 4d1d98c9de2b845c331e23f64c0ecace4830af3d4d9f86c44698c3c9bc75b832