[INFO] fetching crate prcn_lib 0.3.1... [INFO] testing prcn_lib-0.3.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate prcn_lib 0.3.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate prcn_lib 0.3.1 [INFO] finished tweaking crates.io crate prcn_lib 0.3.1 [INFO] tweaked toml for crates.io crate prcn_lib 0.3.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate prcn_lib 0.3.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate prcn_lib 0.3.1 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eccba5747c1b8bdb5d2ef7a7102cd2da083284247b7f482444be06d0c132dd3 [INFO] running `Command { std: "docker" "start" "-a" "0eccba5747c1b8bdb5d2ef7a7102cd2da083284247b7f482444be06d0c132dd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eccba5747c1b8bdb5d2ef7a7102cd2da083284247b7f482444be06d0c132dd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eccba5747c1b8bdb5d2ef7a7102cd2da083284247b7f482444be06d0c132dd3", kill_on_drop: false }` [INFO] [stdout] 0eccba5747c1b8bdb5d2ef7a7102cd2da083284247b7f482444be06d0c132dd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a192c2b0a099e5fad87d9ec7669c7a0a86158576adeeb8d7545b4d1eb94b0ca4 [INFO] running `Command { std: "docker" "start" "-a" "a192c2b0a099e5fad87d9ec7669c7a0a86158576adeeb8d7545b4d1eb94b0ca4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling im-rc v14.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling text_io v0.1.8 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling cargo-snippet v0.6.3 [INFO] [stderr] Compiling bitset-fixed v0.1.0 [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling whiteread v0.5.0 [INFO] [stderr] Compiling ascii v1.0.0 [INFO] [stderr] Compiling superslice v1.0.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling itertools-num v0.1.3 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling rand_hc v0.2.0 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling sized-chunks v0.5.3 [INFO] [stderr] Compiling nalgebra v0.20.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Compiling proconio-derive v0.1.6 [INFO] [stderr] Compiling proconio v0.3.6 [INFO] [stderr] Compiling prcn_lib v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/segment_tree.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SegmentTree { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 32 | leaves: usize, [INFO] [stdout] 33 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SegmentTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.01s [INFO] running `Command { std: "docker" "inspect" "a192c2b0a099e5fad87d9ec7669c7a0a86158576adeeb8d7545b4d1eb94b0ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a192c2b0a099e5fad87d9ec7669c7a0a86158576adeeb8d7545b4d1eb94b0ca4", kill_on_drop: false }` [INFO] [stdout] a192c2b0a099e5fad87d9ec7669c7a0a86158576adeeb8d7545b4d1eb94b0ca4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f6ded56ff203dc631da3171d9ab7b9dbc7ee55f18393c8972491efda73d1f3b [INFO] running `Command { std: "docker" "start" "-a" "7f6ded56ff203dc631da3171d9ab7b9dbc7ee55f18393c8972491efda73d1f3b", kill_on_drop: false }` [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/segment_tree.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SegmentTree { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 32 | leaves: usize, [INFO] [stdout] 33 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SegmentTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prcn_lib v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/segment_tree.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SegmentTree { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 32 | leaves: usize, [INFO] [stdout] 33 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SegmentTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "7f6ded56ff203dc631da3171d9ab7b9dbc7ee55f18393c8972491efda73d1f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f6ded56ff203dc631da3171d9ab7b9dbc7ee55f18393c8972491efda73d1f3b", kill_on_drop: false }` [INFO] [stdout] 7f6ded56ff203dc631da3171d9ab7b9dbc7ee55f18393c8972491efda73d1f3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 791628dac4526704eece4a3d845e0e07865a66ebb6544eb5d461f99ce7e5207f [INFO] running `Command { std: "docker" "start" "-a" "791628dac4526704eece4a3d845e0e07865a66ebb6544eb5d461f99ce7e5207f", kill_on_drop: false }` [INFO] [stderr] warning: field `size` is never read [INFO] [stderr] --> src/segment_tree.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct SegmentTree { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 32 | leaves: usize, [INFO] [stderr] 33 | size: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SegmentTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `prcn_lib` (lib) generated 1 warning [INFO] [stderr] warning: `prcn_lib` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prcn_lib-1ef96811e1417c11) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test accumulate::acum_test ... ok [INFO] [stdout] test accumulate::sum_test ... ok [INFO] [stdout] test binary_search::lower_bound_test ... ok [INFO] [stdout] test binary_search::binary_search_test ... ok [INFO] [stdout] test binary_search::upper_bound_test ... ok [INFO] [stdout] test bitset::bs_iter ... ok [INFO] [stdout] test math::sum_test ... ok [INFO] [stdout] test math::test_scale ... ok [INFO] [stdout] test math::test_n_base_scale ... ok [INFO] [stdout] test math::vec_test ... ok [INFO] [stdout] test modint::fac_test ... ok [INFO] [stdout] test prime::fact_test ... ok [INFO] [stdout] test prime::sieve_test ... ok [INFO] [stdout] test shuffle::test_shuffle ... ok [INFO] [stdout] test unique_count::count_test ... ok [INFO] [stdout] test modint::sub ... ok [INFO] [stdout] test modint::mul ... ok [INFO] [stdout] test modint::div ... ok [INFO] [stdout] test modint::add ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests prcn_lib [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/prime.rs - prime::Prime::factorization (line 49) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/prime.rs - prime::Prime::factorization (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Prime` [INFO] [stdout] --> src/prime.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 3 | let table = Prime::init(10); [INFO] [stdout] | ^^^^^ use of undeclared type `Prime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use prcn_lib::prime::Prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/prime.rs - prime::Prime::factorization (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "791628dac4526704eece4a3d845e0e07865a66ebb6544eb5d461f99ce7e5207f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "791628dac4526704eece4a3d845e0e07865a66ebb6544eb5d461f99ce7e5207f", kill_on_drop: false }` [INFO] [stdout] 791628dac4526704eece4a3d845e0e07865a66ebb6544eb5d461f99ce7e5207f