[INFO] fetching crate num-prime 0.4.4... [INFO] building num-prime-0.4.4 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate num-prime 0.4.4 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate num-prime 0.4.4 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-modular v0.5.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.81 [INFO] [stderr] Downloaded zerocopy-derive v0.7.33 [INFO] [stderr] Downloaded syn v2.0.60 [INFO] [stderr] Downloaded zerocopy v0.7.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 011e451d28fcf06fad29fdce8e172be8dbc8f05a6007d219f130583255f6f454 [INFO] running `Command { std: "docker" "start" "-a" "011e451d28fcf06fad29fdce8e172be8dbc8f05a6007d219f130583255f6f454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "011e451d28fcf06fad29fdce8e172be8dbc8f05a6007d219f130583255f6f454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "011e451d28fcf06fad29fdce8e172be8dbc8f05a6007d219f130583255f6f454", kill_on_drop: false }` [INFO] [stdout] 011e451d28fcf06fad29fdce8e172be8dbc8f05a6007d219f130583255f6f454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83646b18319e27a475578e1d3123f35e332009d1b662b8f514739269b0b5e824 [INFO] running `Command { std: "docker" "start" "-a" "83646b18319e27a475578e1d3123f35e332009d1b662b8f514739269b0b5e824", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling zerocopy v0.7.33 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.46 [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 8.82s [INFO] running `Command { std: "docker" "inspect" "83646b18319e27a475578e1d3123f35e332009d1b662b8f514739269b0b5e824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83646b18319e27a475578e1d3123f35e332009d1b662b8f514739269b0b5e824", kill_on_drop: false }` [INFO] [stdout] 83646b18319e27a475578e1d3123f35e332009d1b662b8f514739269b0b5e824 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e25529c82216dd35c11213e921f90a814fa3087bcaca8b0391831f1768ef2127 [INFO] running `Command { std: "docker" "start" "-a" "e25529c82216dd35c11213e921f90a814fa3087bcaca8b0391831f1768ef2127", kill_on_drop: false }` [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] Compiling num-prime v0.4.4 (/opt/rustwide/workdir) [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 3.59s [INFO] running `Command { std: "docker" "inspect" "e25529c82216dd35c11213e921f90a814fa3087bcaca8b0391831f1768ef2127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e25529c82216dd35c11213e921f90a814fa3087bcaca8b0391831f1768ef2127", kill_on_drop: false }` [INFO] [stdout] e25529c82216dd35c11213e921f90a814fa3087bcaca8b0391831f1768ef2127