[INFO] fetching crate prime-data 0.1.2... [INFO] building prime-data-0.1.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate prime-data 0.1.2 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prime-data 0.1.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 934813aa152ed9fb854def452a2c88c78b1e793026460818216aef96c65f18f0 [INFO] running `Command { std: "docker" "start" "-a" "934813aa152ed9fb854def452a2c88c78b1e793026460818216aef96c65f18f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "934813aa152ed9fb854def452a2c88c78b1e793026460818216aef96c65f18f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "934813aa152ed9fb854def452a2c88c78b1e793026460818216aef96c65f18f0", kill_on_drop: false }` [INFO] [stdout] 934813aa152ed9fb854def452a2c88c78b1e793026460818216aef96c65f18f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f3ab69059780cd57465725a9da98e89a3a81230f36574c6e9bc97b8d314b083 [INFO] running `Command { std: "docker" "start" "-a" "6f3ab69059780cd57465725a9da98e89a3a81230f36574c6e9bc97b8d314b083", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(future_incompatible)]`) 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)]` (part of `#[warn(unused)]`) 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.43s [INFO] running `Command { std: "docker" "inspect" "6f3ab69059780cd57465725a9da98e89a3a81230f36574c6e9bc97b8d314b083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f3ab69059780cd57465725a9da98e89a3a81230f36574c6e9bc97b8d314b083", kill_on_drop: false }` [INFO] [stdout] 6f3ab69059780cd57465725a9da98e89a3a81230f36574c6e9bc97b8d314b083 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a53d8c4148e8a8cf8cd29dc1f422313959dc7541dd3305fded71336e8728dd41 [INFO] running `Command { std: "docker" "start" "-a" "a53d8c4148e8a8cf8cd29dc1f422313959dc7541dd3305fded71336e8728dd41", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(future_incompatible)]`) 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: 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)]` (part of `#[warn(future_incompatible)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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 `test` profile [optimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "a53d8c4148e8a8cf8cd29dc1f422313959dc7541dd3305fded71336e8728dd41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53d8c4148e8a8cf8cd29dc1f422313959dc7541dd3305fded71336e8728dd41", kill_on_drop: false }` [INFO] [stdout] a53d8c4148e8a8cf8cd29dc1f422313959dc7541dd3305fded71336e8728dd41