[INFO] cloning repository https://github.com/kevaundray/mpcfhe-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevaundray/mpcfhe-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevaundray%2Fmpcfhe-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevaundray%2Fmpcfhe-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80bd88dee19bcbbc6466bd2e1ba34f544b1b3354 [INFO] testing kevaundray/mpcfhe-demo against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevaundray%2Fmpcfhe-demo" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kevaundray/mpcfhe-demo on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kevaundray/mpcfhe-demo [INFO] finished tweaking git repo https://github.com/kevaundray/mpcfhe-demo [INFO] tweaked toml for git repo https://github.com/kevaundray/mpcfhe-demo written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kevaundray/mpcfhe-demo 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e49270dd333f1aa7b39d5a5726260e10d95cef6eaa8a0a82d0d7f80a9afa45e6 [INFO] running `Command { std: "docker" "start" "-a" "e49270dd333f1aa7b39d5a5726260e10d95cef6eaa8a0a82d0d7f80a9afa45e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e49270dd333f1aa7b39d5a5726260e10d95cef6eaa8a0a82d0d7f80a9afa45e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e49270dd333f1aa7b39d5a5726260e10d95cef6eaa8a0a82d0d7f80a9afa45e6", kill_on_drop: false }` [INFO] [stdout] e49270dd333f1aa7b39d5a5726260e10d95cef6eaa8a0a82d0d7f80a9afa45e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6db90751b26b0c88b3fb0cf0b853b1c2be87e0cd96a85b0eb3b8046e6523ca40 [INFO] running `Command { std: "docker" "start" "-a" "6db90751b26b0c88b3fb0cf0b853b1c2be87e0cd96a85b0eb3b8046e6523ca40", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling papergrid v0.11.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling clap_builder v4.5.13 [INFO] [stderr] Compiling tempfile v3.11.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling tabled v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling rustyline v14.0.0 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling clap v4.5.13 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling phantom-zone v0.1.0 (https://github.com/gausslabs/phantom-zone?rev=4248443e7a90c27f2a07392771d77fd2d096b220#4248443e) [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling mpcfhe-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Cipher` and `ServerKeyShare` [INFO] [stdout] --> src/circuit.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Cipher, FheUint8, ServerKeyShare}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/circuit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParameterSelector`, `aggregate_server_key_shares`, and `set_parameter_set` [INFO] [stdout] --> src/circuit.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | aggregate_server_key_shares, set_parameter_set, FheBool, KeySwitchWithId, ParameterSelector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RngCore` and `thread_rng` [INFO] [stdout] --> src/circuit.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{thread_rng, RngCore}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_coord` [INFO] [stdout] --> src/circuit.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | max_coord: &FheUint8, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_coord` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Board` is more private than the item `init_state` [INFO] [stdout] --> src/circuit.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn init_state(tile: &Board) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `init_state` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Board` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/circuit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Board { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Board` is more private than the item `update_egg` [INFO] [stdout] --> src/circuit.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pub(crate) fn update_egg( [INFO] [stdout] 26 | | tile: &Board, [INFO] [stdout] 27 | | coord: &(FheUint8, FheUint8), [INFO] [stdout] 28 | | board_coords: &[(FheUint8, FheUint8); BOARD_SIZE], [INFO] [stdout] 29 | | max_coord: &FheUint8, [INFO] [stdout] 30 | | new_value: &FheUint8, [INFO] [stdout] 31 | | ) -> Board { [INFO] [stdout] | |__________^ function `update_egg` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Board` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/circuit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Board { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/circuit.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_state` is never used [INFO] [stdout] --> src/circuit.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn init_state(tile: &Board) -> Board { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_egg` is never used [INFO] [stdout] --> src/circuit.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn update_egg( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_DIMS` is never used [INFO] [stdout] --> src/circuit.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const BOARD_DIMS: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_SIZE` is never used [INFO] [stdout] --> src/circuit.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | const BOARD_SIZE: usize = (BOARD_DIMS as usize) * (BOARD_DIMS as usize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_PLAYERS` is never used [INFO] [stdout] --> src/circuit.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const NUM_PLAYERS: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/circuit.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_values` is never used [INFO] [stdout] --> src/circuit.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn setup_values(client_key: ClientKey) -> EncryptedU8Values { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_player`, `check_all_players_ready`, `set_fhe_square`, and `move_direction` are never used [INFO] [stdout] --> src/circuit.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl Server { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 100 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub(crate) fn set_player( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn check_all_players_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn set_fhe_square(&mut self, coord: &(FheUint8, FheUint8), new_value: FheUint8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub(crate) fn move_direction( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EncryptedU8Values` is never used [INFO] [stdout] --> src/types.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type EncryptedU8Values = SeededBatchedFheUint8, [u8; 32]>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ServerShare` is never used [INFO] [stdout] --> src/types.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type ServerShare = SeededNonInteractiveMultiPartyServerKey< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ConstFheUint8` is never used [INFO] [stdout] --> src/types.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type ConstFheUint8 = FheUint8; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "6db90751b26b0c88b3fb0cf0b853b1c2be87e0cd96a85b0eb3b8046e6523ca40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6db90751b26b0c88b3fb0cf0b853b1c2be87e0cd96a85b0eb3b8046e6523ca40", kill_on_drop: false }` [INFO] [stdout] 6db90751b26b0c88b3fb0cf0b853b1c2be87e0cd96a85b0eb3b8046e6523ca40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 777f87dc7dae107406e53503ebac7c915661abfb7f05300c06acca24239c23da [INFO] running `Command { std: "docker" "start" "-a" "777f87dc7dae107406e53503ebac7c915661abfb7f05300c06acca24239c23da", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Cipher` and `ServerKeyShare` [INFO] [stdout] --> src/circuit.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Cipher, FheUint8, ServerKeyShare}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/circuit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParameterSelector`, `aggregate_server_key_shares`, and `set_parameter_set` [INFO] [stdout] --> src/circuit.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | aggregate_server_key_shares, set_parameter_set, FheBool, KeySwitchWithId, ParameterSelector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RngCore` and `thread_rng` [INFO] [stdout] --> src/circuit.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{thread_rng, RngCore}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_coord` [INFO] [stdout] --> src/circuit.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | max_coord: &FheUint8, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_coord` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Board` is more private than the item `init_state` [INFO] [stdout] --> src/circuit.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn init_state(tile: &Board) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `init_state` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Board` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/circuit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Board { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Board` is more private than the item `update_egg` [INFO] [stdout] --> src/circuit.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pub(crate) fn update_egg( [INFO] [stdout] 26 | | tile: &Board, [INFO] [stdout] 27 | | coord: &(FheUint8, FheUint8), [INFO] [stdout] 28 | | board_coords: &[(FheUint8, FheUint8); BOARD_SIZE], [INFO] [stdout] 29 | | max_coord: &FheUint8, [INFO] [stdout] 30 | | new_value: &FheUint8, [INFO] [stdout] 31 | | ) -> Board { [INFO] [stdout] | |__________^ function `update_egg` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Board` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/circuit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Board { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/circuit.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_state` is never used [INFO] [stdout] --> src/circuit.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn init_state(tile: &Board) -> Board { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_egg` is never used [INFO] [stdout] --> src/circuit.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn update_egg( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_DIMS` is never used [INFO] [stdout] --> src/circuit.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const BOARD_DIMS: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_SIZE` is never used [INFO] [stdout] --> src/circuit.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | const BOARD_SIZE: usize = (BOARD_DIMS as usize) * (BOARD_DIMS as usize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_PLAYERS` is never used [INFO] [stdout] --> src/circuit.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const NUM_PLAYERS: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/circuit.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_values` is never used [INFO] [stdout] --> src/circuit.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn setup_values(client_key: ClientKey) -> EncryptedU8Values { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_player`, `check_all_players_ready`, `set_fhe_square`, and `move_direction` are never used [INFO] [stdout] --> src/circuit.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl Server { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 100 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub(crate) fn set_player( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn check_all_players_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn set_fhe_square(&mut self, coord: &(FheUint8, FheUint8), new_value: FheUint8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub(crate) fn move_direction( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EncryptedU8Values` is never used [INFO] [stdout] --> src/types.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type EncryptedU8Values = SeededBatchedFheUint8, [u8; 32]>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mpcfhe-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `ServerShare` is never used [INFO] [stdout] --> src/types.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type ServerShare = SeededNonInteractiveMultiPartyServerKey< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ConstFheUint8` is never used [INFO] [stdout] --> src/types.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type ConstFheUint8 = FheUint8; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cipher` and `ServerKeyShare` [INFO] [stdout] --> src/circuit.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Cipher, FheUint8, ServerKeyShare}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_coord` [INFO] [stdout] --> src/circuit.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | max_coord: &FheUint8, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_coord` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Board` is more private than the item `init_state` [INFO] [stdout] --> src/circuit.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn init_state(tile: &Board) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `init_state` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Board` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/circuit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Board { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Board` is more private than the item `update_egg` [INFO] [stdout] --> src/circuit.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pub(crate) fn update_egg( [INFO] [stdout] 26 | | tile: &Board, [INFO] [stdout] 27 | | coord: &(FheUint8, FheUint8), [INFO] [stdout] 28 | | board_coords: &[(FheUint8, FheUint8); BOARD_SIZE], [INFO] [stdout] 29 | | max_coord: &FheUint8, [INFO] [stdout] 30 | | new_value: &FheUint8, [INFO] [stdout] 31 | | ) -> Board { [INFO] [stdout] | |__________^ function `update_egg` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Board` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/circuit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Board { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_state` is never used [INFO] [stdout] --> src/circuit.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn init_state(tile: &Board) -> Board { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_egg` is never used [INFO] [stdout] --> src/circuit.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn update_egg( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `encrypted_true` and `board_coords` are never read [INFO] [stdout] --> src/circuit.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | encrypted_true: FheBool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | board_coords: [(ConstFheUint8, ConstFheUint8); BOARD_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_all_players_ready` and `set_fhe_square` are never used [INFO] [stdout] --> src/circuit.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl Server { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | fn check_all_players_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn set_fhe_square(&mut self, coord: &(FheUint8, FheUint8), new_value: FheUint8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ServerShare` is never used [INFO] [stdout] --> src/types.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type ServerShare = SeededNonInteractiveMultiPartyServerKey< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "777f87dc7dae107406e53503ebac7c915661abfb7f05300c06acca24239c23da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "777f87dc7dae107406e53503ebac7c915661abfb7f05300c06acca24239c23da", kill_on_drop: false }` [INFO] [stdout] 777f87dc7dae107406e53503ebac7c915661abfb7f05300c06acca24239c23da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a53d48ba9b9d2b645e69c868b3c27e94581932e80a8929b57283743b9e87c645 [INFO] running `Command { std: "docker" "start" "-a" "a53d48ba9b9d2b645e69c868b3c27e94581932e80a8929b57283743b9e87c645", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Cipher` and `ServerKeyShare` [INFO] [stderr] --> src/circuit.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{Cipher, FheUint8, ServerKeyShare}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/circuit.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ParameterSelector`, `aggregate_server_key_shares`, and `set_parameter_set` [INFO] [stderr] --> src/circuit.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | aggregate_server_key_shares, set_parameter_set, FheBool, KeySwitchWithId, ParameterSelector, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RngCore` and `thread_rng` [INFO] [stderr] --> src/circuit.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | use rand::{thread_rng, RngCore}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_coord` [INFO] [stderr] --> src/circuit.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | max_coord: &FheUint8, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_coord` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `Board` is more private than the item `init_state` [INFO] [stderr] --> src/circuit.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | pub(crate) fn init_state(tile: &Board) -> Board { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `init_state` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `Board` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/circuit.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | struct Board { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `Board` is more private than the item `update_egg` [INFO] [stderr] --> src/circuit.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / pub(crate) fn update_egg( [INFO] [stderr] 26 | | tile: &Board, [INFO] [stderr] 27 | | coord: &(FheUint8, FheUint8), [INFO] [stderr] 28 | | board_coords: &[(FheUint8, FheUint8); BOARD_SIZE], [INFO] [stderr] 29 | | max_coord: &FheUint8, [INFO] [stderr] 30 | | new_value: &FheUint8, [INFO] [stderr] 31 | | ) -> Board { [INFO] [stderr] | |__________^ function `update_egg` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `Board` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/circuit.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | struct Board { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Board` is never constructed [INFO] [stderr] --> src/circuit.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | struct Board { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `init_state` is never used [INFO] [stderr] --> src/circuit.rs:21:15 [INFO] [stderr] | [INFO] [stderr] 21 | pub(crate) fn init_state(tile: &Board) -> Board { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_egg` is never used [INFO] [stderr] --> src/circuit.rs:25:15 [INFO] [stderr] | [INFO] [stderr] 25 | pub(crate) fn update_egg( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BOARD_DIMS` is never used [INFO] [stderr] --> src/circuit.rs:65:7 [INFO] [stderr] | [INFO] [stderr] 65 | const BOARD_DIMS: u8 = 2; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BOARD_SIZE` is never used [INFO] [stderr] --> src/circuit.rs:66:7 [INFO] [stderr] | [INFO] [stderr] 66 | const BOARD_SIZE: usize = (BOARD_DIMS as usize) * (BOARD_DIMS as usize); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `NUM_PLAYERS` is never used [INFO] [stderr] --> src/circuit.rs:68:7 [INFO] [stderr] | [INFO] [stderr] 68 | const NUM_PLAYERS: usize = 2; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Server` is never constructed [INFO] [stderr] --> src/circuit.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | pub struct Server { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `setup_values` is never used [INFO] [stderr] --> src/circuit.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn setup_values(client_key: ClientKey) -> EncryptedU8Values { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `set_player`, `check_all_players_ready`, `set_fhe_square`, and `move_direction` are never used [INFO] [stderr] --> src/circuit.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 99 | impl Server { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 100 | fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 155 | pub(crate) fn set_player( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 166 | fn check_all_players_ready(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 174 | pub(crate) fn set_fhe_square(&mut self, coord: &(FheUint8, FheUint8), new_value: FheUint8) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 193 | pub(crate) fn move_direction( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `EncryptedU8Values` is never used [INFO] [stderr] --> src/types.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | pub type EncryptedU8Values = SeededBatchedFheUint8, [u8; 32]>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ServerShare` is never used [INFO] [stderr] --> src/types.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | pub type ServerShare = SeededNonInteractiveMultiPartyServerKey< [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ConstFheUint8` is never used [INFO] [stderr] --> src/types.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | pub type ConstFheUint8 = FheUint8; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init_state` is never used [INFO] [stderr] --> src/circuit.rs:21:15 [INFO] [stderr] | [INFO] [stderr] 21 | pub(crate) fn init_state(tile: &Board) -> Board { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `encrypted_true` and `board_coords` are never read [INFO] [stderr] --> src/circuit.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 70 | pub struct Server { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 74 | encrypted_true: FheBool, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | board_coords: [(ConstFheUint8, ConstFheUint8); BOARD_SIZE], [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `check_all_players_ready` and `set_fhe_square` are never used [INFO] [stderr] --> src/circuit.rs:166:8 [INFO] [stderr] | [INFO] [stderr] 99 | impl Server { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 166 | fn check_all_players_ready(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 174 | pub(crate) fn set_fhe_square(&mut self, coord: &(FheUint8, FheUint8), new_value: FheUint8) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mpcfhe-demo` (lib) generated 19 warnings (run `cargo fix --lib -p mpcfhe-demo` to apply 4 suggestions) [INFO] [stderr] warning: `mpcfhe-demo` (lib test) generated 9 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mpcfhe_demo-c60b2cd0b0c956aa) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test circuit::test_uint8_square_demo has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "a53d48ba9b9d2b645e69c868b3c27e94581932e80a8929b57283743b9e87c645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53d48ba9b9d2b645e69c868b3c27e94581932e80a8929b57283743b9e87c645", kill_on_drop: false }` [INFO] [stdout] a53d48ba9b9d2b645e69c868b3c27e94581932e80a8929b57283743b9e87c645