[INFO] fetching crate number-theory 0.0.25... [INFO] testing number-theory-0.0.25 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate number-theory 0.0.25 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate number-theory 0.0.25 [INFO] finished tweaking crates.io crate number-theory 0.0.25 [INFO] tweaked toml for crates.io crate number-theory 0.0.25 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate number-theory 0.0.25 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate number-theory 0.0.25 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded machine-prime v1.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58118395a7a18eb297d41e8a42240a155bf85cc62488fd366355ada39aefb567 [INFO] running `Command { std: "docker" "start" "-a" "58118395a7a18eb297d41e8a42240a155bf85cc62488fd366355ada39aefb567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58118395a7a18eb297d41e8a42240a155bf85cc62488fd366355ada39aefb567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58118395a7a18eb297d41e8a42240a155bf85cc62488fd366355ada39aefb567", kill_on_drop: false }` [INFO] [stdout] 58118395a7a18eb297d41e8a42240a155bf85cc62488fd366355ada39aefb567 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50414d2909609488a38bce278b39311bc4037683248e7c6c267593a1394e04e9 [INFO] running `Command { std: "docker" "start" "-a" "50414d2909609488a38bce278b39311bc4037683248e7c6c267593a1394e04e9", kill_on_drop: false }` [INFO] [stderr] Compiling machine-prime v1.5.5 [INFO] [stderr] Compiling number-theory v0.0.25 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/structs.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn factor_iter(&self) -> std::slice::Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 58 | pub fn factor_iter(&self) -> std::slice::Iter<'_, T>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/structs.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn power_iter(&self) -> std::slice::Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 62 | pub fn power_iter(&self) -> std::slice::Iter<'_, u64>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/structs.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn pair_iter(&self) -> std::iter::Zip,std::slice::Iter>{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided 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] 74 | pub fn pair_iter(&self) -> std::iter::Zip,std::slice::Iter<'_, u64>>{ [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.76s [INFO] running `Command { std: "docker" "inspect" "50414d2909609488a38bce278b39311bc4037683248e7c6c267593a1394e04e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50414d2909609488a38bce278b39311bc4037683248e7c6c267593a1394e04e9", kill_on_drop: false }` [INFO] [stdout] 50414d2909609488a38bce278b39311bc4037683248e7c6c267593a1394e04e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 510f24839bcc438244b1d7e6e49f1a6d8e53de5d89977a13bb746d11502f864c [INFO] running `Command { std: "docker" "start" "-a" "510f24839bcc438244b1d7e6e49f1a6d8e53de5d89977a13bb746d11502f864c", kill_on_drop: false }` [INFO] [stderr] Compiling number-theory v0.0.25 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/structs.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn factor_iter(&self) -> std::slice::Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 58 | pub fn factor_iter(&self) -> std::slice::Iter<'_, T>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/structs.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn power_iter(&self) -> std::slice::Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 62 | pub fn power_iter(&self) -> std::slice::Iter<'_, u64>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/structs.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn pair_iter(&self) -> std::iter::Zip,std::slice::Iter>{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided 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] 74 | pub fn pair_iter(&self) -> std::iter::Zip,std::slice::Iter<'_, u64>>{ [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/structs.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn factor_iter(&self) -> std::slice::Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 58 | pub fn factor_iter(&self) -> std::slice::Iter<'_, T>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/structs.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn power_iter(&self) -> std::slice::Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 62 | pub fn power_iter(&self) -> std::slice::Iter<'_, u64>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/structs.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn pair_iter(&self) -> std::iter::Zip,std::slice::Iter>{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided 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] 74 | pub fn pair_iter(&self) -> std::iter::Zip,std::slice::Iter<'_, u64>>{ [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "510f24839bcc438244b1d7e6e49f1a6d8e53de5d89977a13bb746d11502f864c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "510f24839bcc438244b1d7e6e49f1a6d8e53de5d89977a13bb746d11502f864c", kill_on_drop: false }` [INFO] [stdout] 510f24839bcc438244b1d7e6e49f1a6d8e53de5d89977a13bb746d11502f864c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ace0c243ac91b57ca20ebe9d0abc6263a19e5d05e98f5cf7256c76aef55c6099 [INFO] running `Command { std: "docker" "start" "-a" "ace0c243ac91b57ca20ebe9d0abc6263a19e5d05e98f5cf7256c76aef55c6099", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] [INFO] [stderr] --> src/structs.rs:58:23 [INFO] [stdout] running 1 test [INFO] [stderr] | [INFO] [stderr] 58 | pub fn factor_iter(&self) -> std::slice::Iter{ [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 58 | pub fn factor_iter(&self) -> std::slice::Iter<'_, T>{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/structs.rs:62:22 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn power_iter(&self) -> std::slice::Iter{ [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 62 | pub fn power_iter(&self) -> std::slice::Iter<'_, u64>{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/structs.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn pair_iter(&self) -> std::iter::Zip,std::slice::Iter>{ [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 74 | pub fn pair_iter(&self) -> std::iter::Zip,std::slice::Iter<'_, u64>>{ [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: `number-theory` (lib) generated 3 warnings (run `cargo fix --lib -p number-theory` to apply 3 suggestions) [INFO] [stderr] warning: `number-theory` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/number_theory-eb63192641576efc) [INFO] [stdout] test data::primes::check_sum ... ok [INFO] [stderr] Doc-tests number_theory [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/arithmetic/mpz_prime.rs - arithmetic::mpz_prime::Mpz::sprp_check (line 46) ... ok [INFO] [stdout] test src/arithmetic/mpz.rs - arithmetic::mpz::Mpz::from_string (line 275) ... ok [INFO] [stdout] test src/arithmetic/mpz.rs - arithmetic::mpz::Mpz::cip (line 818) ... ok [INFO] [stdout] test src/result.rs - result::NTResult::ffi (line 145) ... ok [INFO] [stdout] test src/arithmetic/mpz.rs - arithmetic::mpz::Mpz::u_new (line 124) ... ok [INFO] [stdout] test src/result.rs - result::NTResult::from_option (line 104) ... ok [INFO] [stdout] test src/arithmetic/mpz.rs - arithmetic::mpz::Mpz::to_radix_vec (line 247) ... ok [INFO] [stdout] test src/arithmetic/mpz.rs - arithmetic::mpz::Mpz::sirp (line 766) ... ok [INFO] [stdout] test src/arithmetic/mpz.rs - arithmetic::mpz::Mpz::successor (line 517) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ace0c243ac91b57ca20ebe9d0abc6263a19e5d05e98f5cf7256c76aef55c6099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace0c243ac91b57ca20ebe9d0abc6263a19e5d05e98f5cf7256c76aef55c6099", kill_on_drop: false }` [INFO] [stdout] ace0c243ac91b57ca20ebe9d0abc6263a19e5d05e98f5cf7256c76aef55c6099