[INFO] cloning repository https://github.com/afishnamedqwerty/navFHE_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/afishnamedqwerty/navFHE_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafishnamedqwerty%2FnavFHE_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafishnamedqwerty%2FnavFHE_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4289a2bfb7565090ea18acd99dfe91ba134c2c9 [INFO] testing afishnamedqwerty/navFHE_rs against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafishnamedqwerty%2FnavFHE_rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/afishnamedqwerty/navFHE_rs [INFO] finished tweaking git repo https://github.com/afishnamedqwerty/navFHE_rs [INFO] tweaked toml for git repo https://github.com/afishnamedqwerty/navFHE_rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/afishnamedqwerty/navFHE_rs on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/afishnamedqwerty/navFHE_rs 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44b24ce85b3f0eda214f8bc08e0bea2d9d7303b3b4a058150e4c11266c5c992d [INFO] running `Command { std: "docker" "start" "-a" "44b24ce85b3f0eda214f8bc08e0bea2d9d7303b3b4a058150e4c11266c5c992d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44b24ce85b3f0eda214f8bc08e0bea2d9d7303b3b4a058150e4c11266c5c992d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44b24ce85b3f0eda214f8bc08e0bea2d9d7303b3b4a058150e4c11266c5c992d", kill_on_drop: false }` [INFO] [stdout] 44b24ce85b3f0eda214f8bc08e0bea2d9d7303b3b4a058150e4c11266c5c992d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] e79a05b71df753c5de662bd32e21374ef7264ac90384cb977f6b57088b975c27 [INFO] running `Command { std: "docker" "start" "-a" "e79a05b71df753c5de662bd32e21374ef7264ac90384cb977f6b57088b975c27", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.5 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rug v1.27.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling quinn-udp v0.5.13 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling quinn v0.11.8 [INFO] [stderr] Compiling lru-slab v0.1.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fastbloom v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling hpcompcleartext v0.1.0 (/opt/rustwide/workdir/crates/hpcompcleartext) [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling rcgen v0.14.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling rustls-platform-verifier v0.5.3 [INFO] [stderr] Compiling quinn-proto v0.11.12 [INFO] [stderr] Compiling hpcompcrypto v0.1.0 (/opt/rustwide/workdir/crates/hpcompcrypto) [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> crates/hpcompcrypto/src/compare/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `dgk`, and `joye` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> crates/hpcompcrypto/src/lib.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{anyhow, Result}; [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 variable: `state` [INFO] [stdout] --> crates/hpcompcrypto/src/compare/joye.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | state: &JoyeClientState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_bob` [INFO] [stdout] --> crates/hpcompcrypto/src/compare/joye.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | from_bob: JoyeFromBob, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_bob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> crates/hpcompcrypto/src/compare/joye.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | params: JoyeParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hpcompcrypto/src/lib.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let mut ci = int_from_be(&c.0); [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] [stdout] warning: function `L` should have a snake case name [INFO] [stdout] --> crates/hpcompcrypto/src/lib.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn L(x: &mut Integer, n: &Integer) -> Integer { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hpcompalgo v0.1.0 (/opt/rustwide/workdir/crates/hpcompalgo) [INFO] [stderr] Compiling hpcompproto v0.1.0 (/opt/rustwide/workdir/crates/hpcompproto) [INFO] [stdout] warning: unused imports: `PaillierPrivateKey`, `add_plain`, `blind_pair`, `dec`, and `unblind_product` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | add, add_plain, blind_pair, dec, enc, unblind_product, mul_plain, Ciphertext, EncInt, PaillierPublicKey, PaillierPrivateKey, Remo... [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: `rug::Complete` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rug::Complete; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `blind_pair` and `unblind_product` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | use hpcompcrypto::{blind_pair, unblind_product}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rug::integer::Order` [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rug::integer::Order; [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: `rug::Integer` [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rug::Integer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode` [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lt` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | let (lt, eq, gt) = ctx.cmp.cmp_zero(&{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_lt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | let (lt, eq, gt) = ctx.cmp.cmp_zero(&{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gt` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | let (lt, eq, gt) = ctx.cmp.cmp_zero(&{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | let diff = EncInt::new(add( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_diff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bool_xor` is never used [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn bool_xor( [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 `enc_minmax` is never used [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn enc_minmax( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JoyeParamsSerde` is more private than the item `JoyeCmpReq::params` [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub params: JoyeParamsSerde,//hpcompcrypto::compare::JoyeParams, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `JoyeCmpReq::params` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `JoyeParamsSerde` is only usable at visibility `pub(crate)` [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct JoyeParamsSerde( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JoyeParamsMirror` is never constructed [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct JoyeParamsMirror { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Msg` is never used [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:190:6 [INFO] [stdout] | [INFO] [stdout] 190 | enum Msg { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hpcompnode v0.1.0 (/opt/rustwide/workdir/crates/hpcompnode) [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> crates/hpcompnode/src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use tokio::io::AsyncReadExt; [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 imports: `Ciphertext`, `add_plain`, and `mul_plain` [INFO] [stdout] --> crates/hpcompnode/src/bin/bob.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | keygen, enc, dec, add_plain, mul_plain, PaillierPublicKey, PaillierPrivateKey, Ciphertext, [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 imports: `PAD_TO_CMP`, `PAD_TO_MULT`, and `PAD_TO_ROUTE` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | PAD_TO_HELLO, PAD_TO_MULT, PAD_TO_CMP, PAD_TO_ROUTE, PAD_TO_REVEAL, [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: `hpcompnode::MULT_BATCH_MAX` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use hpcompnode::MULT_BATCH_MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pt` and `Seg` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | use hpcompalgo::{Pt, Seg}; [INFO] [stdout] | ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EncInt` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:36:56 [INFO] [stdout] | [INFO] [stdout] 36 | use hpcompcrypto::{RemoteMultiplier, RemoteComparator, EncInt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Handle` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use tokio::runtime::Handle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use tokio::sync::oneshot; //{mpsc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_pairs_len_value` is never used [INFO] [stdout] --> crates/hpcompnode/src/bin/bob.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn extract_pairs_len_value(value: &serde_json::Value) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut mult_send, mut mult_recv) = conn.open_bi().await?; [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] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut mult_send, mut mult_recv) = conn.open_bi().await?; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | let (mut cmp_send, mut cmp_recv) = conn.open_bi().await?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | let (mut cmp_send, mut cmp_recv) = conn.open_bi().await?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bob_pk` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let bob_pk: PaillierPublicKey = serde_json::from_slice(&bob_pk_data)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bob_pk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alice_pk` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | let (alice_pk, alice_sk) = if let Some(priv_path) = &opt.alice_priv { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alice_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alice_sk` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | let (alice_pk, alice_sk) = if let Some(priv_path) = &opt.alice_priv { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alice_sk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | let (meta, route_enc) = wait_route(&mut recv).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bob_nonce` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:244:56 [INFO] [stdout] | [INFO] [stdout] 244 | Msg::KeyInfo(KeyInfo { compare_scheme, pk, bob_nonce }) => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `bob_nonce: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 19s [INFO] running `Command { std: "docker" "inspect" "e79a05b71df753c5de662bd32e21374ef7264ac90384cb977f6b57088b975c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79a05b71df753c5de662bd32e21374ef7264ac90384cb977f6b57088b975c27", kill_on_drop: false }` [INFO] [stdout] e79a05b71df753c5de662bd32e21374ef7264ac90384cb977f6b57088b975c27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 10deb04fa8817eea7a2f7f50127a2668b342d0bd3f76c17b60e33ef7c84653de [INFO] running `Command { std: "docker" "start" "-a" "10deb04fa8817eea7a2f7f50127a2668b342d0bd3f76c17b60e33ef7c84653de", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> crates/hpcompcrypto/src/compare/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `dgk`, and `joye` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> crates/hpcompcrypto/src/lib.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{anyhow, Result}; [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 variable: `state` [INFO] [stdout] --> crates/hpcompcrypto/src/compare/joye.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | state: &JoyeClientState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_bob` [INFO] [stdout] --> crates/hpcompcrypto/src/compare/joye.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | from_bob: JoyeFromBob, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_bob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> crates/hpcompcrypto/src/compare/joye.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | params: JoyeParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hpcompcrypto/src/lib.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let mut ci = int_from_be(&c.0); [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] [stdout] warning: function `L` should have a snake case name [INFO] [stdout] --> crates/hpcompcrypto/src/lib.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn L(x: &mut Integer, n: &Integer) -> Integer { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaillierPrivateKey`, `add_plain`, `blind_pair`, `dec`, and `unblind_product` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | add, add_plain, blind_pair, dec, enc, unblind_product, mul_plain, Ciphertext, EncInt, PaillierPublicKey, PaillierPrivateKey, Remo... [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: `rug::Complete` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rug::Complete; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `blind_pair` and `unblind_product` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | use hpcompcrypto::{blind_pair, unblind_product}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lt` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | let (lt, eq, gt) = ctx.cmp.cmp_zero(&{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_lt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | let (lt, eq, gt) = ctx.cmp.cmp_zero(&{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gt` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | let (lt, eq, gt) = ctx.cmp.cmp_zero(&{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff` [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | let diff = EncInt::new(add( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_diff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bool_xor` is never used [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn bool_xor( [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 `enc_minmax` is never used [INFO] [stdout] --> crates/hpcompalgo/src/lib.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn enc_minmax( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rug::integer::Order` [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rug::integer::Order; [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: `rug::Integer` [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rug::Integer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode` [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JoyeParamsSerde` is more private than the item `JoyeCmpReq::params` [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub params: JoyeParamsSerde,//hpcompcrypto::compare::JoyeParams, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `JoyeCmpReq::params` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `JoyeParamsSerde` is only usable at visibility `pub(crate)` [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct JoyeParamsSerde( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JoyeParamsMirror` is never constructed [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct JoyeParamsMirror { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Msg` is never used [INFO] [stdout] --> crates/hpcompproto/src/lib.rs:190:6 [INFO] [stdout] | [INFO] [stdout] 190 | enum Msg { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hpcompcleartext v0.1.0 (/opt/rustwide/workdir/crates/hpcompcleartext) [INFO] [stderr] Compiling hpcompnode v0.1.0 (/opt/rustwide/workdir/crates/hpcompnode) [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> crates/hpcompnode/src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use tokio::io::AsyncReadExt; [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: `tokio::io::AsyncReadExt` [INFO] [stdout] --> crates/hpcompnode/src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use tokio::io::AsyncReadExt; [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 imports: `Ciphertext`, `add_plain`, and `mul_plain` [INFO] [stdout] --> crates/hpcompnode/src/bin/bob.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | keygen, enc, dec, add_plain, mul_plain, PaillierPublicKey, PaillierPrivateKey, Ciphertext, [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 imports: `PAD_TO_CMP`, `PAD_TO_MULT`, and `PAD_TO_ROUTE` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | PAD_TO_HELLO, PAD_TO_MULT, PAD_TO_CMP, PAD_TO_ROUTE, PAD_TO_REVEAL, [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 imports: `Pt` and `Seg` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | use hpcompalgo::{Pt, Seg}; [INFO] [stdout] | ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EncInt` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:36:56 [INFO] [stdout] | [INFO] [stdout] 36 | use hpcompcrypto::{RemoteMultiplier, RemoteComparator, EncInt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Handle` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use tokio::runtime::Handle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use tokio::sync::oneshot; //{mpsc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut mult_send, mut mult_recv) = conn.open_bi().await?; [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] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut mult_send, mut mult_recv) = conn.open_bi().await?; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | let (mut cmp_send, mut cmp_recv) = conn.open_bi().await?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | let (mut cmp_send, mut cmp_recv) = conn.open_bi().await?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bob_pk` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let bob_pk: PaillierPublicKey = serde_json::from_slice(&bob_pk_data)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bob_pk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alice_pk` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | let (alice_pk, alice_sk) = if let Some(priv_path) = &opt.alice_priv { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alice_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alice_sk` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | let (alice_pk, alice_sk) = if let Some(priv_path) = &opt.alice_priv { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alice_sk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | let (meta, route_enc) = wait_route(&mut recv).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bob_nonce` [INFO] [stdout] --> crates/hpcompnode/src/bin/alice.rs:244:56 [INFO] [stdout] | [INFO] [stdout] 244 | Msg::KeyInfo(KeyInfo { compare_scheme, pk, bob_nonce }) => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `bob_nonce: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.40s [INFO] running `Command { std: "docker" "inspect" "10deb04fa8817eea7a2f7f50127a2668b342d0bd3f76c17b60e33ef7c84653de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10deb04fa8817eea7a2f7f50127a2668b342d0bd3f76c17b60e33ef7c84653de", kill_on_drop: false }` [INFO] [stdout] 10deb04fa8817eea7a2f7f50127a2668b342d0bd3f76c17b60e33ef7c84653de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 694d34cf33c43d3205c9740b769803d9ad5d649eaa1b8e791c54c84a8bcb02ff [INFO] running `Command { std: "docker" "start" "-a" "694d34cf33c43d3205c9740b769803d9ad5d649eaa1b8e791c54c84a8bcb02ff", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `serde` [INFO] [stderr] --> crates/hpcompcrypto/src/compare/mod.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `dgk`, and `joye` [INFO] [stderr] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `anyhow` [INFO] [stderr] --> crates/hpcompcrypto/src/lib.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use anyhow::{anyhow, Result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> crates/hpcompcrypto/src/compare/joye.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | state: &JoyeClientState, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from_bob` [INFO] [stderr] --> crates/hpcompcrypto/src/compare/joye.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | from_bob: JoyeFromBob, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_bob` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> crates/hpcompcrypto/src/compare/joye.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | params: JoyeParams, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/hpcompcrypto/src/lib.rs:214:9 [INFO] [stderr] | [INFO] [stderr] 214 | let mut ci = int_from_be(&c.0); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `L` should have a snake case name [INFO] [stderr] --> crates/hpcompcrypto/src/lib.rs:165:4 [INFO] [stderr] | [INFO] [stderr] 165 | fn L(x: &mut Integer, n: &Integer) -> Integer { [INFO] [stderr] | ^ help: convert the identifier to snake case: `l` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `hpcompcrypto` (lib) generated 7 warnings (run `cargo fix --lib -p hpcompcrypto` to apply 5 suggestions) [INFO] [stderr] warning: unused import: `rug::integer::Order` [INFO] [stderr] --> crates/hpcompproto/src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use rug::integer::Order; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rug::Integer` [INFO] [stderr] --> crates/hpcompproto/src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use rug::Integer; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bincode` [INFO] [stderr] --> crates/hpcompproto/src/lib.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use bincode; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `JoyeParamsSerde` is more private than the item `JoyeCmpReq::params` [INFO] [stderr] --> crates/hpcompproto/src/lib.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | pub params: JoyeParamsSerde,//hpcompcrypto::compare::JoyeParams, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `JoyeCmpReq::params` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `JoyeParamsSerde` is only usable at visibility `pub(crate)` [INFO] [stderr] --> crates/hpcompproto/src/lib.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | struct JoyeParamsSerde( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `JoyeParamsMirror` is never constructed [INFO] [stderr] --> crates/hpcompproto/src/lib.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | struct JoyeParamsMirror { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `Msg` is never used [INFO] [stderr] --> crates/hpcompproto/src/lib.rs:190:6 [INFO] [stderr] | [INFO] [stderr] 190 | enum Msg { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PaillierPrivateKey`, `add_plain`, `blind_pair`, `dec`, and `unblind_product` [INFO] [stderr] --> crates/hpcompalgo/src/lib.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | add, add_plain, blind_pair, dec, enc, unblind_product, mul_plain, Ciphertext, EncInt, PaillierPublicKey, PaillierPrivateKey, Remo... [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rug::Complete` [INFO] [stderr] --> crates/hpcompalgo/src/lib.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use rug::Complete; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `blind_pair` and `unblind_product` [INFO] [stderr] --> crates/hpcompalgo/src/lib.rs:219:24 [INFO] [stderr] | [INFO] [stderr] 219 | use hpcompcrypto::{blind_pair, unblind_product}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::RngCore` [INFO] [stderr] --> crates/hpcompalgo/src/lib.rs:163:5 [INFO] [stderr] | [INFO] [stderr] 163 | use rand::RngCore; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lt` [INFO] [stderr] --> crates/hpcompalgo/src/lib.rs:253:10 [INFO] [stderr] | [INFO] [stderr] 253 | let (lt, eq, gt) = ctx.cmp.cmp_zero(&{ [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_lt` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `eq` [INFO] [stderr] --> crates/hpcompalgo/src/lib.rs:253:14 [INFO] [stderr] | [INFO] [stderr] 253 | let (lt, eq, gt) = ctx.cmp.cmp_zero(&{ [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gt` [INFO] [stderr] --> crates/hpcompalgo/src/lib.rs:253:18 [INFO] [stderr] | [INFO] [stderr] 253 | let (lt, eq, gt) = ctx.cmp.cmp_zero(&{ [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_gt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `diff` [INFO] [stderr] --> crates/hpcompalgo/src/lib.rs:367:13 [INFO] [stderr] | [INFO] [stderr] 367 | let diff = EncInt::new(add( [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_diff` [INFO] [stderr] [INFO] [stderr] warning: function `bool_xor` is never used [INFO] [stderr] --> crates/hpcompalgo/src/lib.rs:96:4 [INFO] [stderr] | [INFO] [stderr] 96 | fn bool_xor( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `enc_minmax` is never used [INFO] [stderr] --> crates/hpcompalgo/src/lib.rs:246:4 [INFO] [stderr] | [INFO] [stderr] 246 | fn enc_minmax( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hpcompproto` (lib) generated 6 warnings (run `cargo fix --lib -p hpcompproto` to apply 3 suggestions) [INFO] [stderr] warning: `hpcompalgo` (lib) generated 10 warnings (run `cargo fix --lib -p hpcompalgo` to apply 7 suggestions) [INFO] [stderr] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stderr] --> crates/hpcompnode/src/lib.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | use tokio::io::AsyncReadExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `hpcompnode` (lib) generated 1 warning [INFO] [stderr] warning: `hpcompnode` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unused imports: `PAD_TO_CMP`, `PAD_TO_MULT`, and `PAD_TO_ROUTE` [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | PAD_TO_HELLO, PAD_TO_MULT, PAD_TO_CMP, PAD_TO_ROUTE, PAD_TO_REVEAL, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Pt` and `Seg` [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | use hpcompalgo::{Pt, Seg}; [INFO] [stderr] | ^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EncInt` [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:36:56 [INFO] [stderr] | [INFO] [stderr] 36 | use hpcompcrypto::{RemoteMultiplier, RemoteComparator, EncInt}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::runtime::Handle` [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use tokio::runtime::Handle; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::oneshot` [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | use tokio::sync::oneshot; //{mpsc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:173:18 [INFO] [stderr] | [INFO] [stderr] 173 | let (mut mult_send, mut mult_recv) = conn.open_bi().await?; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:173:33 [INFO] [stderr] | [INFO] [stderr] 173 | let (mut mult_send, mut mult_recv) = conn.open_bi().await?; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:174:18 [INFO] [stderr] | [INFO] [stderr] 174 | let (mut cmp_send, mut cmp_recv) = conn.open_bi().await?; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:174:32 [INFO] [stderr] | [INFO] [stderr] 174 | let (mut cmp_send, mut cmp_recv) = conn.open_bi().await?; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bob_pk` [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | let bob_pk: PaillierPublicKey = serde_json::from_slice(&bob_pk_data)?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bob_pk` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `alice_pk` [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:118:10 [INFO] [stderr] | [INFO] [stderr] 118 | let (alice_pk, alice_sk) = if let Some(priv_path) = &opt.alice_priv { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alice_pk` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `alice_sk` [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:118:20 [INFO] [stderr] | [INFO] [stderr] 118 | let (alice_pk, alice_sk) = if let Some(priv_path) = &opt.alice_priv { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alice_sk` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `meta` [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:147:10 [INFO] [stderr] | [INFO] [stderr] 147 | let (meta, route_enc) = wait_route(&mut recv).await?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bob_nonce` [INFO] [stderr] --> crates/hpcompnode/src/bin/alice.rs:244:56 [INFO] [stderr] | [INFO] [stderr] 244 | Msg::KeyInfo(KeyInfo { compare_scheme, pk, bob_nonce }) => { [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `bob_nonce: _` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Ciphertext`, `add_plain`, and `mul_plain` [INFO] [stderr] --> crates/hpcompnode/src/bin/bob.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | keygen, enc, dec, add_plain, mul_plain, PaillierPublicKey, PaillierPrivateKey, Ciphertext, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `hpcompnode` (bin "alice" test) generated 14 warnings (run `cargo fix --bin "alice" -p hpcompnode --tests` to apply 14 suggestions) [INFO] [stderr] warning: `hpcompnode` (bin "bob" test) generated 1 warning (run `cargo fix --bin "bob" -p hpcompnode --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/bin/cleartext-baseline.rs (/opt/rustwide/target/debug/build/hpcompcleartext/1df5ebf85de1fe95/deps/cleartext_baseline-1df5ebf85de1fe95) [INFO] [stdout] [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 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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/hpcompnode/7e103d8a747efa22/deps/hpcompnode-7e103d8a747efa22) [INFO] [stderr] Running unittests src/bin/alice.rs (/opt/rustwide/target/debug/build/hpcompnode/5b9c3c9fa68532bd/deps/alice-5b9c3c9fa68532bd) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test alice_wire_tests::client_side_max_batch_check_logic ... ok [INFO] [stdout] test alice_wire_tests::hello_padding_equal_across_nonces ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/bob.rs (/opt/rustwide/target/debug/build/hpcompnode/7c9697b5f2b62bca/deps/bob-7c9697b5f2b62bca) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test enforcement_tests::extract_len_accepts_blinded_pairs ... ok [INFO] [stdout] test pad_tests::hello_frames_pad_to_constant_bucket ... ok [INFO] [stdout] test enforcement_tests::extract_len_accepts_pairs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests hpcompnode [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "694d34cf33c43d3205c9740b769803d9ad5d649eaa1b8e791c54c84a8bcb02ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "694d34cf33c43d3205c9740b769803d9ad5d649eaa1b8e791c54c84a8bcb02ff", kill_on_drop: false }` [INFO] [stdout] 694d34cf33c43d3205c9740b769803d9ad5d649eaa1b8e791c54c84a8bcb02ff