[INFO] cloning repository https://github.com/roshr22/FeRus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roshr22/FeRus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froshr22%2FFeRus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froshr22%2FFeRus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f13cd22e9a0db2f2f545e49de17503aca355fb00 [INFO] checking roshr22/FeRus against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froshr22%2FFeRus" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/roshr22/FeRus [INFO] finished tweaking git repo https://github.com/roshr22/FeRus [INFO] tweaked toml for git repo https://github.com/roshr22/FeRus written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/roshr22/FeRus on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/roshr22/FeRus 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68fb04b567e10f850d9d5ea7c484e5706fc8a49d4e6618e74c830f63b5b05ff8 [INFO] running `Command { std: "docker" "start" "-a" "68fb04b567e10f850d9d5ea7c484e5706fc8a49d4e6618e74c830f63b5b05ff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68fb04b567e10f850d9d5ea7c484e5706fc8a49d4e6618e74c830f63b5b05ff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68fb04b567e10f850d9d5ea7c484e5706fc8a49d4e6618e74c830f63b5b05ff8", kill_on_drop: false }` [INFO] [stdout] 68fb04b567e10f850d9d5ea7c484e5706fc8a49d4e6618e74c830f63b5b05ff8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b308165338133bd4d234e29f07775c1ef194dac53e1c44edd3b73cfbe627f57 [INFO] running `Command { std: "docker" "start" "-a" "3b308165338133bd4d234e29f07775c1ef194dac53e1c44edd3b73cfbe627f57", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pyo3-build-config v0.25.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling pyo3-macros-backend v0.25.1 [INFO] [stderr] Compiling pyo3-ffi v0.25.1 [INFO] [stderr] Compiling pyo3 v0.25.1 [INFO] [stderr] Compiling pyo3-macros v0.25.1 [INFO] [stderr] Checking ddhlib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let mut ginv = g.clone().modinv(&calc.p).expect("Inverse does not exist"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ddhlib` (lib) due to 8 previous errors; 5 warnings emitted [INFO] [stdout] warning: unused variable: `i_big` [INFO] [stdout] --> src/lib.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let i_big = BigInt::from(i); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_i_big` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let mut ginv = g.clone().modinv(&calc.p).expect("Inverse does not exist"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ddhlib` (lib test) due to 8 previous errors; 5 warnings emitted [INFO] [stdout] warning: unused variable: `i_big` [INFO] [stdout] --> src/lib.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let i_big = BigInt::from(i); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_i_big` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | for i in 0..l_usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | for i in 0..l_usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bound` [INFO] [stdout] --> src/lib.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | let bound = (self.params.bound.clone()).into_pyobject(py).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bound` [INFO] [stdout] --> src/lib.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | let bound = (self.params.bound.clone()).into_pyobject(py).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `neg` is never read [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct CalcZp { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | neg: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalcZp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `neg` is never read [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct CalcZp { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | neg: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalcZp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | fn dot(v1: Vector, v2: Vector, py: Python<'_>) -> Bound<'_, PyInt> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | fn sample<'py>(&self, py: Python<'py>) -> Bound<'py, PyInt> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | fn in_zp(p: BigInt, order: BigInt) -> CalcZp { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 335 | let derived_key = dot(master_sec_key.clone(), y.clone(), py).into_pyobject(py).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(Vec, Vec), Infallible> [INFO] [stdout] --> src/lib.rs:312:55 [INFO] [stdout] | [INFO] [stdout] 312 | fn generate_master_keys(&self, py: Python<'_>) -> (Vector, Vector) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:329:86 [INFO] [stdout] | [INFO] [stdout] 329 | fn derive_key<'py>(&self, master_sec_key: Vector, y: Vector, py: Python<'py>) -> Bound<'py, PyInt> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:339:83 [INFO] [stdout] | [INFO] [stdout] 339 | fn encrypt<'py>(&self, x: Vector, master_pub_key: Vector, py: Python<'py>) -> Vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:369:103 [INFO] [stdout] | [INFO] [stdout] 369 | fn decrypt<'py>(&self, ciphertext: Vector, key: Bound<'py, PyInt>, y: Vector, py: Python<'py>) -> Bound<'py, PyInt>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | fn dot(v1: Vector, v2: Vector, py: Python<'_>) -> Bound<'_, PyInt> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | fn sample<'py>(&self, py: Python<'py>) -> Bound<'py, PyInt> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | fn in_zp(p: BigInt, order: BigInt) -> CalcZp { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 335 | let derived_key = dot(master_sec_key.clone(), y.clone(), py).into_pyobject(py).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(Vec, Vec), Infallible> [INFO] [stdout] --> src/lib.rs:312:55 [INFO] [stdout] | [INFO] [stdout] 312 | fn generate_master_keys(&self, py: Python<'_>) -> (Vector, Vector) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:329:86 [INFO] [stdout] | [INFO] [stdout] 329 | fn derive_key<'py>(&self, master_sec_key: Vector, y: Vector, py: Python<'py>) -> Bound<'py, PyInt> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:339:83 [INFO] [stdout] | [INFO] [stdout] 339 | fn encrypt<'py>(&self, x: Vector, master_pub_key: Vector, py: Python<'py>) -> Vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:369:103 [INFO] [stdout] | [INFO] [stdout] 369 | fn decrypt<'py>(&self, ciphertext: Vector, key: Bound<'py, PyInt>, y: Vector, py: Python<'py>) -> Bound<'py, PyInt>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3b308165338133bd4d234e29f07775c1ef194dac53e1c44edd3b73cfbe627f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b308165338133bd4d234e29f07775c1ef194dac53e1c44edd3b73cfbe627f57", kill_on_drop: false }` [INFO] [stdout] 3b308165338133bd4d234e29f07775c1ef194dac53e1c44edd3b73cfbe627f57