[INFO] fetching crate num-prime 0.4.4... [INFO] building num-prime-0.4.4 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate num-prime 0.4.4 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate num-prime 0.4.4 [INFO] finished tweaking crates.io crate num-prime 0.4.4 [INFO] tweaked toml for crates.io crate num-prime 0.4.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate num-prime 0.4.4 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] crate crates.io crate num-prime 0.4.4 already has a lockfile, it will not be regenerated [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-modular v0.5.1 [INFO] [stderr] Downloaded zerocopy-derive v0.7.33 [INFO] [stderr] Downloaded zerocopy v0.7.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d0bf2f4797a465a72763430002f5299f2fc54f16a9c62735fe90546681282834 [INFO] running `Command { std: "docker" "start" "-a" "d0bf2f4797a465a72763430002f5299f2fc54f16a9c62735fe90546681282834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0bf2f4797a465a72763430002f5299f2fc54f16a9c62735fe90546681282834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0bf2f4797a465a72763430002f5299f2fc54f16a9c62735fe90546681282834", kill_on_drop: false }` [INFO] [stdout] d0bf2f4797a465a72763430002f5299f2fc54f16a9c62735fe90546681282834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d3a2ed49485192630aa70c087d30be21321be7bd21ad059d2423e9d47f03d19b [INFO] running `Command { std: "docker" "start" "-a" "d3a2ed49485192630aa70c087d30be21321be7bd21ad059d2423e9d47f03d19b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling zerocopy v0.7.33 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [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 num-modular v0.5.1 [INFO] [stderr] Compiling num-prime v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `num_integer::Integer::divides`: Please use is_multiple_of instead [INFO] [stdout] --> src/mint.rs:351:35 [INFO] [stdout] | [INFO] [stdout] 351 | forward_binops_left_ref_only!(divides => bool); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pollard_pp1` is never used [INFO] [stdout] --> src/factor.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn pollard_pp1() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `williams_pp1` is never used [INFO] [stdout] --> src/factor.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn williams_pp1() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `psw` is never used [INFO] [stdout] --> src/traits.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl PrimalityTestConfig { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn psw() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pm1_trials` and `pp1_trials` are never read [INFO] [stdout] --> src/traits.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct FactorizationConfig { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 152 | pm1_trials: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pp1_trials: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FactorizationConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn primes(&mut self, limit: u64) -> std::iter::Take<::PrimeIter> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 348 | pub fn primes(&mut self, limit: u64) -> std::iter::Take<>::PrimeIter> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:369:20 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn nprimes(&mut self, count: usize) -> std::iter::Take<::PrimeIter> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 369 | pub fn nprimes(&mut self, count: usize) -> std::iter::Take<>::PrimeIter> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.71s [INFO] running `Command { std: "docker" "inspect" "d3a2ed49485192630aa70c087d30be21321be7bd21ad059d2423e9d47f03d19b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a2ed49485192630aa70c087d30be21321be7bd21ad059d2423e9d47f03d19b", kill_on_drop: false }` [INFO] [stdout] d3a2ed49485192630aa70c087d30be21321be7bd21ad059d2423e9d47f03d19b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 711287f60986dd9d46072d623def05a6d6c2eb034364b37c19055e18d55940cf [INFO] running `Command { std: "docker" "start" "-a" "711287f60986dd9d46072d623def05a6d6c2eb034364b37c19055e18d55940cf", kill_on_drop: false }` [INFO] [stderr] Compiling num-prime v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `num_integer::Integer::divides`: Please use is_multiple_of instead [INFO] [stdout] --> src/mint.rs:351:35 [INFO] [stdout] | [INFO] [stdout] 351 | forward_binops_left_ref_only!(divides => bool); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pollard_pp1` is never used [INFO] [stdout] --> src/factor.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn pollard_pp1() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `williams_pp1` is never used [INFO] [stdout] --> src/factor.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn williams_pp1() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `psw` is never used [INFO] [stdout] --> src/traits.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl PrimalityTestConfig { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn psw() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pm1_trials` and `pp1_trials` are never read [INFO] [stdout] --> src/traits.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct FactorizationConfig { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 152 | pm1_trials: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pp1_trials: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FactorizationConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn primes(&mut self, limit: u64) -> std::iter::Take<::PrimeIter> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 348 | pub fn primes(&mut self, limit: u64) -> std::iter::Take<>::PrimeIter> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:369:20 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn nprimes(&mut self, count: usize) -> std::iter::Take<::PrimeIter> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 369 | pub fn nprimes(&mut self, count: usize) -> std::iter::Take<>::PrimeIter> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile_n` is never used [INFO] [stdout] --> examples/profile_factorization.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn profile_n(n: u128) -> Vec<(String, usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `num_integer::Integer::divides`: Please use is_multiple_of instead [INFO] [stdout] --> src/mint.rs:351:35 [INFO] [stdout] | [INFO] [stdout] 351 | forward_binops_left_ref_only!(divides => bool); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pollard_pp1` is never used [INFO] [stdout] --> src/factor.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn pollard_pp1() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `williams_pp1` is never used [INFO] [stdout] --> src/factor.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn williams_pp1() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `psw` is never used [INFO] [stdout] --> src/traits.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl PrimalityTestConfig { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn psw() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pm1_trials` and `pp1_trials` are never read [INFO] [stdout] --> src/traits.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct FactorizationConfig { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 152 | pm1_trials: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pp1_trials: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FactorizationConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn primes(&mut self, limit: u64) -> std::iter::Take<::PrimeIter> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 348 | pub fn primes(&mut self, limit: u64) -> std::iter::Take<>::PrimeIter> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:369:20 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn nprimes(&mut self, count: usize) -> std::iter::Take<::PrimeIter> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 369 | pub fn nprimes(&mut self, count: usize) -> std::iter::Take<>::PrimeIter> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.93s [INFO] running `Command { std: "docker" "inspect" "711287f60986dd9d46072d623def05a6d6c2eb034364b37c19055e18d55940cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "711287f60986dd9d46072d623def05a6d6c2eb034364b37c19055e18d55940cf", kill_on_drop: false }` [INFO] [stdout] 711287f60986dd9d46072d623def05a6d6c2eb034364b37c19055e18d55940cf