[INFO] fetching crate prime_factorization 1.0.5... [INFO] testing prime_factorization-1.0.5 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate prime_factorization 1.0.5 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate prime_factorization 1.0.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate prime_factorization 1.0.5 [INFO] tweaked toml for crates.io crate prime_factorization 1.0.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prime_factorization 1.0.5 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate prime_factorization 1.0.5 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 769751fcd9d1dd589706a9a401b52efc9c815c39dcf24b932e53d9f5cbbb69a6 [INFO] running `Command { std: "docker" "start" "-a" "769751fcd9d1dd589706a9a401b52efc9c815c39dcf24b932e53d9f5cbbb69a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "769751fcd9d1dd589706a9a401b52efc9c815c39dcf24b932e53d9f5cbbb69a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "769751fcd9d1dd589706a9a401b52efc9c815c39dcf24b932e53d9f5cbbb69a6", kill_on_drop: false }` [INFO] [stdout] 769751fcd9d1dd589706a9a401b52efc9c815c39dcf24b932e53d9f5cbbb69a6 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4caf4075026abd8e27c7fb62966b3384532534db85c58974143fe28c8c454d11 [INFO] running `Command { std: "docker" "start" "-a" "4caf4075026abd8e27c7fb62966b3384532534db85c58974143fe28c8c454d11", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling prime_factorization v1.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 18.57s [INFO] running `Command { std: "docker" "inspect" "4caf4075026abd8e27c7fb62966b3384532534db85c58974143fe28c8c454d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4caf4075026abd8e27c7fb62966b3384532534db85c58974143fe28c8c454d11", kill_on_drop: false }` [INFO] [stdout] 4caf4075026abd8e27c7fb62966b3384532534db85c58974143fe28c8c454d11 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87b7a1da6d531a04563676f6f91e525280560a8b4e884d28c2e6e5eee082138e [INFO] running `Command { std: "docker" "start" "-a" "87b7a1da6d531a04563676f6f91e525280560a8b4e884d28c2e6e5eee082138e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling prime_factorization v1.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 59.94s [INFO] running `Command { std: "docker" "inspect" "87b7a1da6d531a04563676f6f91e525280560a8b4e884d28c2e6e5eee082138e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b7a1da6d531a04563676f6f91e525280560a8b4e884d28c2e6e5eee082138e", kill_on_drop: false }` [INFO] [stdout] 87b7a1da6d531a04563676f6f91e525280560a8b4e884d28c2e6e5eee082138e [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f70a8c9419c8d9977d6c7498e31fa5e60d6ea5e9fa70f7f33a3686d7e4b30f9d [INFO] running `Command { std: "docker" "start" "-a" "f70a8c9419c8d9977d6c7498e31fa5e60d6ea5e9fa70f7f33a3686d7e4b30f9d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prime_factorization-abd22f2f2ce12deb) [INFO] [stdout] [INFO] [stdout] running 50 tests [INFO] [stdout] test arith::tests::add_mod_large_type ... ok [INFO] [stdout] test arith::tests::add_mod_large_type_max_mod ... ok [INFO] [stdout] test arith::tests::add_mod_small_type ... ok [INFO] [stdout] test arith::tests::add_mod_mid_type_max_modu ... ok [INFO] [stdout] test arith::tests::exp_mod_large_type ... ok [INFO] [stdout] test arith::tests::exp_mod_mid_type_max_modu ... ok [INFO] [stdout] test arith::tests::gcd_equality ... ok [INFO] [stdout] test arith::tests::gcd_mix ... ok [INFO] [stdout] test arith::tests::exp_mod_small_type ... ok [INFO] [stdout] test arith::tests::jacobi_symbol_large_operands ... ok [INFO] [stdout] test arith::tests::mult_mod_large_type ... ok [INFO] [stdout] test arith::tests::jacobi_symbol_small_operands ... ok [INFO] [stdout] test arith::tests::mult_mod_large_type_max_modu ... ok [INFO] [stdout] test arith::tests::mult_mod_small_type ... ok [INFO] [stdout] test arith::tests::multip_inv_mid_type_exists ... ok [INFO] [stdout] test arith::tests::trunc_square_mid_type ... ok [INFO] [stdout] test arith::tests::multip_inv_mid_type_not_exists ... ok [INFO] [stdout] test elliptic::tests::elliptic_add_small_type ... ok [INFO] [stdout] test elliptic::tests::elliptic_add_mid_type ... ok [INFO] [stdout] test arith::tests::sub_mod_small_type ... ok [INFO] [stdout] test elliptic::tests::elliptic_double_mid_type ... ok [INFO] [stdout] test elliptic::tests::elliptic_double_small_type ... ok [INFO] [stdout] test factor::tests::factorize_fermat_prime_powers ... ok [INFO] [stdout] test factor::tests::factorize_trial_large_composites ... ok [INFO] [stdout] test arith::tests::trunc_square_large_type ... ok [INFO] [stdout] test arith::tests::multip_inv_large_type ... ok [INFO] [stdout] test factor::tests::factorize_fermat_prime_powers_mix ... ok [INFO] [stdout] test factor::tests::factorize_trial_primes ... ok [INFO] [stdout] test factor::tests::factorize_fermat_square_pair_prime_factors ... ok [INFO] [stdout] test factor::tests::factorize_trial_small_composites ... ok [INFO] [stdout] test prime::tests::is_prime_factor_bpsw_smaller_composites ... ok [INFO] [stdout] test prime::tests::is_prime_factor_mr_composites ... ok [INFO] [stdout] test prime::tests::is_prime_factor_mr_smaller_primes ... ok [INFO] [stdout] test factor::tests::prime_factor_repr ... ok [INFO] [stdout] test factor::tests::wheel_factorization_as_runner ... ok [INFO] [stdout] test prime::tests::is_prime_factor_mr_primes ... ok [INFO] [stdout] test prime::tests::is_prime_factor_small_odd_primes ... ok [INFO] [stdout] test prime::tests::is_prime_factor_small_range ... ok [INFO] [stdout] test factor::tests::factorize_mid_composites_many_factors ... ok [INFO] [stdout] test prime::tests::is_prime_factor_bpsw_primes ... ok [INFO] [stdout] test arith::tests::exp_mod_mid_type_large_modu_other ... ok [INFO] [stdout] test prime::tests::is_prime_factor_range_containing_two_primes ... ok [INFO] [stdout] test prime::tests::is_prime_factor_range_containing_three_primes ... ok [INFO] [stdout] test prime::tests::is_prime_factor_bpsw_larger_primes ... ok [INFO] [stdout] test prime::tests::is_prime_factor_range_containing_no_primes ... ok [INFO] [stdout] test prime::tests::is_prime_factor_bpsw_composites ... ok [INFO] [stdout] test arith::tests::sub_mod_large_type_max_modu ... ok [INFO] [stdout] test factor::tests::factorize_semiprimes ... ok [INFO] [stdout] test factor::tests::factorize_large_composites_many_factors ... ok [INFO] [stdout] test factor::tests::factorize_large_semiprimes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 50 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 35.41s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/prime_factorization-88efbd9cf207b8c3) [INFO] [stdout] [INFO] [stderr] Running tests/integ_tests.rs (/opt/rustwide/target/debug/deps/integ_tests-d5a2029f67eb70ff) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test factorization_for_one_and_zero ... ok [INFO] [stdout] test factorization_large_prime ... ok [INFO] [stdout] test factorization_perfect_number ... ok [INFO] [stdout] test factorization_mid_composite_2 ... ok [INFO] [stdout] test factorization_mid_composite ... ok [INFO] [stdout] test factorization_multiple_factors ... ok [INFO] [stdout] test factorization_mid_composite_3 ... ok [INFO] [stdout] test factorization_small_composite ... ok [INFO] [stdout] test factorization_small_prime ... ok [INFO] [stdout] test factorization_readme_other_example ... ok [INFO] [stdout] test factorization_u32_max ... ok [INFO] [stdout] test factorization_product_of_prime_powers ... ok [INFO] [stdout] test factorization_u64_max ... ok [INFO] [stdout] test factorization_u128_max ... ok [INFO] [stdout] test factorization_readme_example ... ok [INFO] [stdout] test factorization_large_composite ... ok [INFO] [stdout] test factorization_large_composite_2 ... ok [INFO] [stdout] test factorization_semiprime ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.27s [INFO] [stdout] [INFO] [stderr] Doc-tests prime_factorization [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/factor/mod.rs - factor::Factorization::prime_factor_repr (line 185) ... ok [INFO] [stdout] test src/factor/mod.rs - factor::Factorization::run (line 127) ... ok [INFO] [stdout] test src/factor/mod.rs - factor::Factorization::run (line 137) ... ok [INFO] [stdout] test src/lib.rs - (line 31) ... ok [INFO] [stdout] test src/lib.rs - (line 60) ... ok [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] test src/lib.rs - (line 46) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f70a8c9419c8d9977d6c7498e31fa5e60d6ea5e9fa70f7f33a3686d7e4b30f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f70a8c9419c8d9977d6c7498e31fa5e60d6ea5e9fa70f7f33a3686d7e4b30f9d", kill_on_drop: false }` [INFO] [stdout] f70a8c9419c8d9977d6c7498e31fa5e60d6ea5e9fa70f7f33a3686d7e4b30f9d