[INFO] fetching crate float_to_int 0.1.0... [INFO] testing float_to_int-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate float_to_int 0.1.0 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate float_to_int 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libm v0.2.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84a16952a7e8502928d2d83b16f65b223ff74655749fffd19bbc809cf24e7ffa [INFO] running `Command { std: "docker" "start" "-a" "84a16952a7e8502928d2d83b16f65b223ff74655749fffd19bbc809cf24e7ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84a16952a7e8502928d2d83b16f65b223ff74655749fffd19bbc809cf24e7ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84a16952a7e8502928d2d83b16f65b223ff74655749fffd19bbc809cf24e7ffa", kill_on_drop: false }` [INFO] [stdout] 84a16952a7e8502928d2d83b16f65b223ff74655749fffd19bbc809cf24e7ffa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d89e6e2c1e73dcc3da119a97af1cc8082d57429eef15bcd824a0fcf99886b94 [INFO] running `Command { std: "docker" "start" "-a" "1d89e6e2c1e73dcc3da119a97af1cc8082d57429eef15bcd824a0fcf99886b94", 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" "1d89e6e2c1e73dcc3da119a97af1cc8082d57429eef15bcd824a0fcf99886b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d89e6e2c1e73dcc3da119a97af1cc8082d57429eef15bcd824a0fcf99886b94", kill_on_drop: false }` [INFO] [stdout] 1d89e6e2c1e73dcc3da119a97af1cc8082d57429eef15bcd824a0fcf99886b94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ff1f5c927fc5c2cf5c6af59e0258c3d19b3ba68187c79e77871a5704d14a293 [INFO] running `Command { std: "docker" "start" "-a" "0ff1f5c927fc5c2cf5c6af59e0258c3d19b3ba68187c79e77871a5704d14a293", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.48 [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.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [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 6.21s [INFO] running `Command { std: "docker" "inspect" "0ff1f5c927fc5c2cf5c6af59e0258c3d19b3ba68187c79e77871a5704d14a293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ff1f5c927fc5c2cf5c6af59e0258c3d19b3ba68187c79e77871a5704d14a293", kill_on_drop: false }` [INFO] [stdout] 0ff1f5c927fc5c2cf5c6af59e0258c3d19b3ba68187c79e77871a5704d14a293 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff3c1d7b8e28ef6b7500b850c91b0d1bb3642d6a2909894e96726d54ca9204b2 [INFO] running `Command { std: "docker" "start" "-a" "ff3c1d7b8e28ef6b7500b850c91b0d1bb3642d6a2909894e96726d54ca9204b2", 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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/float_to_int-53d5ddb9d8d33548) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test float::tests::test_f32 ... ok [INFO] [stderr] Doc-tests float_to_int [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.10s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/float.rs - float::FloatExt::integer_classify (line 5) ... FAILED [INFO] [stdout] test src/float.rs - float::FloatExt::is_integer (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 7 | 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] 7 | 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] 6 | 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] 6 - assert_eq!(1f32.integer_classify(), Ok(())); [INFO] [stdout] 6 + 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] 7 | 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] 7 - assert!(!3.14f64.integer_classify(), Err(FpCategory::Normal)); [INFO] [stdout] 7 + 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] ---- 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] 15 | 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] 16 | 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] [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.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ff3c1d7b8e28ef6b7500b850c91b0d1bb3642d6a2909894e96726d54ca9204b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff3c1d7b8e28ef6b7500b850c91b0d1bb3642d6a2909894e96726d54ca9204b2", kill_on_drop: false }` [INFO] [stdout] ff3c1d7b8e28ef6b7500b850c91b0d1bb3642d6a2909894e96726d54ca9204b2