[INFO] cloning repository https://github.com/qtheperfect/crustography [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qtheperfect/crustography" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqtheperfect%2Fcrustography", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqtheperfect%2Fcrustography'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c16c43c35fe0b988fcf84f3d80f50be00603753b [INFO] checking qtheperfect/crustography against master#4b596bbd847672da87763b76171687d3544863c2 for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqtheperfect%2Fcrustography" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/qtheperfect/crustography [INFO] finished tweaking git repo https://github.com/qtheperfect/crustography [INFO] tweaked toml for git repo https://github.com/qtheperfect/crustography written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qtheperfect/crustography on toolchain 4b596bbd847672da87763b76171687d3544863c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/qtheperfect/crustography 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" "+4b596bbd847672da87763b76171687d3544863c2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aba4d872de2de527340c8aa381461d9ee9bd79bbdea0e02e05fdffaf66238d2a [INFO] running `Command { std: "docker" "start" "-a" "aba4d872de2de527340c8aa381461d9ee9bd79bbdea0e02e05fdffaf66238d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aba4d872de2de527340c8aa381461d9ee9bd79bbdea0e02e05fdffaf66238d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba4d872de2de527340c8aa381461d9ee9bd79bbdea0e02e05fdffaf66238d2a", kill_on_drop: false }` [INFO] [stdout] aba4d872de2de527340c8aa381461d9ee9bd79bbdea0e02e05fdffaf66238d2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c94cbc5b8d807df92cb4defe37a1a669c6fb015bd8031dd528c2633b42646d9c [INFO] running `Command { std: "docker" "start" "-a" "c94cbc5b8d807df92cb4defe37a1a669c6fb015bd8031dd528c2633b42646d9c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking crustography v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cnrt.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | / /** Find (u, v, c) s.t. [INFO] [stdout] 17 | | * u > 0, v <= 0, coprime(u, v), [INFO] [stdout] 18 | | * ux + vy = c */ [INFO] [stdout] | |_______________________^ [INFO] [stdout] 19 | / if *y == BigInt::ZERO { [INFO] [stdout] 20 | | (BigInt::from(1), BigInt::from(mark), x.clone()) [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | else { [INFO] [stdout] ... | [INFO] [stdout] 27 | | (u, v, c) [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cnrt.rs:36:74 [INFO] [stdout] | [INFO] [stdout] 36 | fn looper(mut x1: BigInt, x2: BigInt, mut s11: BigInt, mut s21: BigInt, mut s12: BigInt, mut s22: BigInt) [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cnrt.rs:36:91 [INFO] [stdout] | [INFO] [stdout] 36 | fn looper(mut x1: BigInt, x2: BigInt, mut s11: BigInt, mut s21: BigInt, mut s12: BigInt, mut s22: BigInt) [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/cnrt.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let (u, v, c) = bezout(m1, m2); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cnrt.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | let result = testers.iter() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bezout_marked` is never used [INFO] [stdout] --> src/cnrt.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn bezout_marked(x: &BigInt, y: &BigInt, mark: i32) -> (BigInt, BigInt, BigInt) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bezout_recursive` is never used [INFO] [stdout] --> src/cnrt.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn bezout_recursive(x: &BigInt, y: &BigInt) -> (BigInt, BigInt, BigInt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_bezout` is never used [INFO] [stdout] --> src/cnrt.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn test_bezout() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cnrt.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | / /** Find (u, v, c) s.t. [INFO] [stdout] 17 | | * u > 0, v <= 0, coprime(u, v), [INFO] [stdout] 18 | | * ux + vy = c */ [INFO] [stdout] | |_______________________^ [INFO] [stdout] 19 | / if *y == BigInt::ZERO { [INFO] [stdout] 20 | | (BigInt::from(1), BigInt::from(mark), x.clone()) [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | else { [INFO] [stdout] ... | [INFO] [stdout] 27 | | (u, v, c) [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cnrt.rs:36:74 [INFO] [stdout] | [INFO] [stdout] 36 | fn looper(mut x1: BigInt, x2: BigInt, mut s11: BigInt, mut s21: BigInt, mut s12: BigInt, mut s22: BigInt) [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cnrt.rs:36:91 [INFO] [stdout] | [INFO] [stdout] 36 | fn looper(mut x1: BigInt, x2: BigInt, mut s11: BigInt, mut s21: BigInt, mut s12: BigInt, mut s22: BigInt) [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/cnrt.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let (u, v, c) = bezout(m1, m2); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cnrt.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | let result = testers.iter() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bezout_marked` is never used [INFO] [stdout] --> src/cnrt.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn bezout_marked(x: &BigInt, y: &BigInt, mark: i32) -> (BigInt, BigInt, BigInt) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bezout_recursive` is never used [INFO] [stdout] --> src/cnrt.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn bezout_recursive(x: &BigInt, y: &BigInt) -> (BigInt, BigInt, BigInt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_bezout` is never used [INFO] [stdout] --> src/cnrt.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn test_bezout() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.43s [INFO] running `Command { std: "docker" "inspect" "c94cbc5b8d807df92cb4defe37a1a669c6fb015bd8031dd528c2633b42646d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c94cbc5b8d807df92cb4defe37a1a669c6fb015bd8031dd528c2633b42646d9c", kill_on_drop: false }` [INFO] [stdout] c94cbc5b8d807df92cb4defe37a1a669c6fb015bd8031dd528c2633b42646d9c