[INFO] cloning repository https://github.com/Kim8584/multiplicative_subgroup_generator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kim8584/multiplicative_subgroup_generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKim8584%2Fmultiplicative_subgroup_generator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKim8584%2Fmultiplicative_subgroup_generator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 603d8b4cbe30e625613301469563192112e98866
[INFO] building Kim8584/multiplicative_subgroup_generator against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKim8584%2Fmultiplicative_subgroup_generator" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Kim8584/multiplicative_subgroup_generator
[INFO] finished tweaking git repo https://github.com/Kim8584/multiplicative_subgroup_generator
[INFO] tweaked toml for git repo https://github.com/Kim8584/multiplicative_subgroup_generator written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kim8584/multiplicative_subgroup_generator on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kim8584/multiplicative_subgroup_generator 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3f7da77773dbe6393237fbda6730796fd845315cce78d6f5daed02c628205dd6
[INFO] running `Command { std: "docker" "start" "-a" "3f7da77773dbe6393237fbda6730796fd845315cce78d6f5daed02c628205dd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f7da77773dbe6393237fbda6730796fd845315cce78d6f5daed02c628205dd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f7da77773dbe6393237fbda6730796fd845315cce78d6f5daed02c628205dd6", kill_on_drop: false }`
[INFO] [stdout] 3f7da77773dbe6393237fbda6730796fd845315cce78d6f5daed02c628205dd6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 565cd9fd73cfae05f34bdbf7b77ef0c54dc51dbbd96388c9bfaa6e63374a30ef
[INFO] running `Command { std: "docker" "start" "-a" "565cd9fd73cfae05f34bdbf7b77ef0c54dc51dbbd96388c9bfaa6e63374a30ef", kill_on_drop: false }`
[INFO] [stderr]    Compiling multiplicative_subgroup v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::sanity_checks::mod_exp`
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     use crate::sanity_checks::mod_exp;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::primitive_root::factors`
[INFO] [stdout]   --> src/main.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     use crate::primitive_root::factors;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/main.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     use rand::Rng;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_factor` is never used
[INFO] [stdout]  --> src/main.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn is_factor(factor: i32, number: i32) -> bool {
[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 `mod_exp` is never used
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn mod_exp(mut a: u64, mut s: u64, n: u64) -> u64 {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_prime` is never used
[INFO] [stdout]   --> src/main.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn is_prime(n: u64, k: u64) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factors` is never used
[INFO] [stdout]   --> src/main.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn factors(k: u64) -> Vec<u64> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multiplicative_subgroup` is never used
[INFO] [stdout]   --> src/main.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn multiplicative_subgroup(p: u64, n: u64) -> Result<Vec<u64>, Box<dyn std::error::Error>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NotFactorError` is never constructed
[INFO] [stdout]    --> src/main.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub struct NotFactorError;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NotPrimeError` is never constructed
[INFO] [stdout]    --> src/main.rs:131:16
[INFO] [stdout]     |
[INFO] [stdout] 131 |     pub struct NotPrimeError;
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_candidate` is never used
[INFO] [stdout]    --> src/main.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn generate_candidate(p: u64) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_generator` is never used
[INFO] [stdout]    --> src/main.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 |     pub fn is_generator(p: u64, g: u64) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s
[INFO] running `Command { std: "docker" "inspect" "565cd9fd73cfae05f34bdbf7b77ef0c54dc51dbbd96388c9bfaa6e63374a30ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "565cd9fd73cfae05f34bdbf7b77ef0c54dc51dbbd96388c9bfaa6e63374a30ef", kill_on_drop: false }`
[INFO] [stdout] 565cd9fd73cfae05f34bdbf7b77ef0c54dc51dbbd96388c9bfaa6e63374a30ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 119f22262208e7d92d037729f3f1cc414bdace3a9338d2fb55e962f8df5b2c36
[INFO] running `Command { std: "docker" "start" "-a" "119f22262208e7d92d037729f3f1cc414bdace3a9338d2fb55e962f8df5b2c36", kill_on_drop: false }`
[INFO] [stderr]    Compiling multiplicative_subgroup v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::sanity_checks::mod_exp`
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     use crate::sanity_checks::mod_exp;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::primitive_root::factors`
[INFO] [stdout]   --> src/main.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     use crate::primitive_root::factors;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/main.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     use rand::Rng;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_factor` is never used
[INFO] [stdout]  --> src/main.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn is_factor(factor: i32, number: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[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 0.69s
[INFO] running `Command { std: "docker" "inspect" "119f22262208e7d92d037729f3f1cc414bdace3a9338d2fb55e962f8df5b2c36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "119f22262208e7d92d037729f3f1cc414bdace3a9338d2fb55e962f8df5b2c36", kill_on_drop: false }`
[INFO] [stdout] 119f22262208e7d92d037729f3f1cc414bdace3a9338d2fb55e962f8df5b2c36
