[INFO] fetching crate prime-data 0.1.2... [INFO] checking prime-data-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate prime-data 0.1.2 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prime-data 0.1.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 351281a24af6890c38dffe39875cc924e5e22e6bdd755601257c1c8893e11e17 [INFO] running `Command { std: "docker" "start" "-a" "351281a24af6890c38dffe39875cc924e5e22e6bdd755601257c1c8893e11e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "351281a24af6890c38dffe39875cc924e5e22e6bdd755601257c1c8893e11e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "351281a24af6890c38dffe39875cc924e5e22e6bdd755601257c1c8893e11e17", kill_on_drop: false }` [INFO] [stdout] 351281a24af6890c38dffe39875cc924e5e22e6bdd755601257c1c8893e11e17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2079c968bc2d92a03cf0f9be28e35d2015592b17bc2bfd3c3b3cb8fea4bdb9c [INFO] running `Command { std: "docker" "start" "-a" "b2079c968bc2d92a03cf0f9be28e35d2015592b17bc2bfd3c3b3cb8fea4bdb9c", 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: 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: 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.55s [INFO] running `Command { std: "docker" "inspect" "b2079c968bc2d92a03cf0f9be28e35d2015592b17bc2bfd3c3b3cb8fea4bdb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2079c968bc2d92a03cf0f9be28e35d2015592b17bc2bfd3c3b3cb8fea4bdb9c", kill_on_drop: false }` [INFO] [stdout] b2079c968bc2d92a03cf0f9be28e35d2015592b17bc2bfd3c3b3cb8fea4bdb9c