[INFO] fetching crate num-prime 0.4.4... [INFO] checking num-prime-0.4.4 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate num-prime 0.4.4 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate num-prime 0.4.4 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00e1f35a90fe3d9faf642d4c61158d7643c746e48e84c2945db6e3a5d88cdfcc [INFO] running `Command { std: "docker" "start" "-a" "00e1f35a90fe3d9faf642d4c61158d7643c746e48e84c2945db6e3a5d88cdfcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00e1f35a90fe3d9faf642d4c61158d7643c746e48e84c2945db6e3a5d88cdfcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00e1f35a90fe3d9faf642d4c61158d7643c746e48e84c2945db6e3a5d88cdfcc", kill_on_drop: false }` [INFO] [stdout] 00e1f35a90fe3d9faf642d4c61158d7643c746e48e84c2945db6e3a5d88cdfcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3a895ba40e3eac4937bd269c00a2c5a006dd6bfdefc94292a942cd25ed601b3 [INFO] running `Command { std: "docker" "start" "-a" "f3a895ba40e3eac4937bd269c00a2c5a006dd6bfdefc94292a942cd25ed601b3", 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] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.33 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-modular v0.5.1 [INFO] [stderr] Checking 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: 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)]` 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: 5 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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)]` 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.57s [INFO] running `Command { std: "docker" "inspect" "f3a895ba40e3eac4937bd269c00a2c5a006dd6bfdefc94292a942cd25ed601b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a895ba40e3eac4937bd269c00a2c5a006dd6bfdefc94292a942cd25ed601b3", kill_on_drop: false }` [INFO] [stdout] f3a895ba40e3eac4937bd269c00a2c5a006dd6bfdefc94292a942cd25ed601b3