[INFO] fetching crate prime-data 0.1.2... [INFO] checking prime-data-0.1.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate prime-data 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate prime-data 0.1.2 [INFO] finished tweaking crates.io crate prime-data 0.1.2 [INFO] tweaked toml for crates.io crate prime-data 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate prime-data 0.1.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24ca2938d6e0279141b619b861f7034fdff92515af6038e1cd131923214c5f14 [INFO] running `Command { std: "docker" "start" "-a" "24ca2938d6e0279141b619b861f7034fdff92515af6038e1cd131923214c5f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24ca2938d6e0279141b619b861f7034fdff92515af6038e1cd131923214c5f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24ca2938d6e0279141b619b861f7034fdff92515af6038e1cd131923214c5f14", kill_on_drop: false }` [INFO] [stdout] 24ca2938d6e0279141b619b861f7034fdff92515af6038e1cd131923214c5f14 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64219a6d3c0688a5773de592fed82909b60f436be8f46da64b023895bb58e480 [INFO] running `Command { std: "docker" "start" "-a" "64219a6d3c0688a5773de592fed82909b60f436be8f46da64b023895bb58e480", kill_on_drop: false }` [INFO] [stderr] Checking prime-data v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/data/prime_data.rs:209:35 [INFO] [stdout] | [INFO] [stdout] 209 | let upper_bound = end.div_floor(prime); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `arithmetic::Divisible::div_floor(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/data/prime_data.rs:703:43 [INFO] [stdout] | [INFO] [stdout] 703 | let data_start = (*range.start()).div_floor(30); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `arithmetic::Divisible::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/data/iterators/prime.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | let data_start = range_start.div_floor(30) as usize - original_offset; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `arithmetic::Divisible::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103+ #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log2` is never used [INFO] [stdout] --> src/data/utils/arithmetic.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Logarithm: Number { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 5 | fn log2(self) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `increment` is never used [INFO] [stdout] --> src/data/utils/arithmetic.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait Increment: Number { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 43 | fn increment(self) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sqrt_ceil` and `is_square` are never used [INFO] [stdout] --> src/data/utils/arithmetic.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait IntSqrt: Increment { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 59 | fn sqrt_ceil(self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn is_square(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/data/prime_data.rs:209:35 [INFO] [stdout] | [INFO] [stdout] 209 | let upper_bound = end.div_floor(prime); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `arithmetic::Divisible::div_floor(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/data/prime_data.rs:703:43 [INFO] [stdout] | [INFO] [stdout] 703 | let data_start = (*range.start()).div_floor(30); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `arithmetic::Divisible::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/data/iterators/prime.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | let data_start = range_start.div_floor(30) as usize - original_offset; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `arithmetic::Divisible::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103+ #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log2` is never used [INFO] [stdout] --> src/data/utils/arithmetic.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Logarithm: Number { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 5 | fn log2(self) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `increment` is never used [INFO] [stdout] --> src/data/utils/arithmetic.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait Increment: Number { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 43 | fn increment(self) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sqrt_ceil` and `is_square` are never used [INFO] [stdout] --> src/data/utils/arithmetic.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait IntSqrt: Increment { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 59 | fn sqrt_ceil(self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn is_square(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "64219a6d3c0688a5773de592fed82909b60f436be8f46da64b023895bb58e480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64219a6d3c0688a5773de592fed82909b60f436be8f46da64b023895bb58e480", kill_on_drop: false }` [INFO] [stdout] 64219a6d3c0688a5773de592fed82909b60f436be8f46da64b023895bb58e480