[INFO] cloning repository https://github.com/ryardley/actor-explore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryardley/actor-explore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryardley%2Factor-explore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryardley%2Factor-explore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc1b816c96bbd5f1b16866ee46f34839eabe3c5c [INFO] checking ryardley/actor-explore against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryardley%2Factor-explore" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryardley/actor-explore on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryardley/actor-explore [INFO] finished tweaking git repo https://github.com/ryardley/actor-explore [INFO] tweaked toml for git repo https://github.com/ryardley/actor-explore written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ryardley/actor-explore 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/gnosisguild/fhe.rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.1.10 [INFO] [stderr] Downloaded tokio-macros v2.4.0 [INFO] [stderr] Downloaded redox_syscall v0.5.3 [INFO] [stderr] Downloaded cpufeatures v0.2.13 [INFO] [stderr] Downloaded num-complex v0.4.6 [INFO] [stderr] Downloaded ethnum v1.5.0 [INFO] [stderr] Downloaded serde v1.0.207 [INFO] [stderr] Downloaded indexmap v2.4.0 [INFO] [stderr] Downloaded mio v1.0.2 [INFO] [stderr] Downloaded matrixmultiply v0.3.9 [INFO] [stderr] Downloaded serde_derive v1.0.207 [INFO] [stderr] Downloaded syn v2.0.74 [INFO] [stderr] Downloaded object v0.36.3 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77110aa1f314059ec660853eed029d71004c63ea5c115410c2fabd2376b6514d [INFO] running `Command { std: "docker" "start" "-a" "77110aa1f314059ec660853eed029d71004c63ea5c115410c2fabd2376b6514d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77110aa1f314059ec660853eed029d71004c63ea5c115410c2fabd2376b6514d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77110aa1f314059ec660853eed029d71004c63ea5c115410c2fabd2376b6514d", kill_on_drop: false }` [INFO] [stdout] 77110aa1f314059ec660853eed029d71004c63ea5c115410c2fabd2376b6514d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4625d02db1751e4ce4fe654124ac64ad3a41a042e1842b52265aa3f5f0324eef [INFO] running `Command { std: "docker" "start" "-a" "4625d02db1751e4ce4fe654124ac64ad3a41a042e1842b52265aa3f5f0324eef", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fhe-traits v0.1.0-beta.7 (https://github.com/gnosisguild/fhe.rs#9624766d) [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Checking fhe-util v0.1.0-beta.7 (https://github.com/gnosisguild/fhe.rs#9624766d) [INFO] [stderr] Compiling fhe-math v0.1.0-beta.7 (https://github.com/gnosisguild/fhe.rs#9624766d) [INFO] [stderr] Compiling fhe v0.1.0-beta.7 (https://github.com/gnosisguild/fhe.rs#9624766d) [INFO] [stderr] Checking actor-implementation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rngs::OsRng` [INFO] [stdout] --> src/main.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | use rand::{rngs::OsRng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Actor` is never used [INFO] [stdout] --> src/actor_traits.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Actor: Send + 'static { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_actor` is never used [INFO] [stdout] --> src/actor_traits.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn run_actor(actor: A, buffer: usize) -> mpsc::Sender [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_actor` is never used [INFO] [stdout] --> src/actor_traits.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | async fn consume_actor(mut actor: A, mut receiver: Receiver) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ciphernode.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Ciphernode { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(dispatcher: D, store: S, fhe: Fhe, encryptor: E) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CiphernodeActor` is never constructed [INFO] [stdout] --> src/ciphernode.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct CiphernodeActor, R: Rng, E: Encryptor> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `on_computation_requested` are never used [INFO] [stdout] --> src/ciphernode.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 49 | / impl CiphernodeActor [INFO] [stdout] 50 | | where [INFO] [stdout] 51 | | S: Store, [INFO] [stdout] 52 | | D: EventDispatcher, [INFO] [stdout] 53 | | R: Rng, [INFO] [stdout] 54 | | E: Encryptor, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 55 | { [INFO] [stdout] 56 | pub fn new(dispatcher: D, store: S, fhe: Fhe, encryptor: E) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | async fn on_computation_requested(&mut self, e3_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `plaintext` and `reply` are never read [INFO] [stdout] --> src/encryptor.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | Encrypt { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 38 | plaintext: Plaintext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | reply: oneshot::Sender>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encrypt` is never used [INFO] [stdout] --> src/encryptor.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait Encryptor: Send + 'static { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 45 | async fn encrypt(&self, plaintext: Plaintext) -> Result>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/encryptor.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl AesEncryptor { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 54 | pub fn new(key: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EncryptorActor` is never constructed [INFO] [stdout] --> src/encryptor.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct EncryptorActor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `encrypt` are never used [INFO] [stdout] --> src/encryptor.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl EncryptorActor { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 81 | pub fn new(key: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn encrypt(&self, data: Plaintext) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/event.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | RegisterListener(Listener), [INFO] [stdout] | ---------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EnclaveEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | RegisterListener(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ComputationRequested` and `KeyshareCreated` are never constructed [INFO] [stdout] --> src/event.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum EnclaveEvent { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 8 | RegisterListener(Listener), [INFO] [stdout] 9 | ComputationRequested { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | KeyshareCreated { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnclaveEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ciphernode` and `Reporter` are never constructed [INFO] [stdout] --> src/event_dispatcher.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Listener { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 15 | Ciphernode(Ciphernode), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | Reporter(Logger), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Listener` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register` is never used [INFO] [stdout] --> src/event_dispatcher.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait EventDispatcher: ActorSender + Send + 'static { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 31 | async fn register(&self, listener: Listener); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/event_dispatcher.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl EventBus { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventBusActor` is never constructed [INFO] [stdout] --> src/event_dispatcher.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct EventBusActor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `dispatch` are never used [INFO] [stdout] --> src/event_dispatcher.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl EventBusActor { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 66 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | async fn dispatch(&self, event: EnclaveEvent) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/fhe.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Error = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/fhe.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Rng` is never used [INFO] [stdout] --> src/fhe.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Rng: RngCore + CryptoRng + Send + 'static {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_to_box_i64` is never used [INFO] [stdout] --> src/fhe.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn deserialize_to_box_i64(bytes: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fhe` is never constructed [INFO] [stdout] --> src/fhe.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Fhe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fhe` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_params`, and `generate_keyshare` are never used [INFO] [stdout] --> src/fhe.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Fhe { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 87 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_params(&self) -> (&Arc, &CommonRandomPoly) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn generate_keyshare(&self) -> Result<(SecretKey, PublicKeyShare)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/logger.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Log(EnclaveEvent), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LogEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | Log(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GetLog` is never constructed [INFO] [stdout] --> src/logger.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum LogEvent { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 11 | Log(EnclaveEvent), [INFO] [stdout] 12 | GetLog(oneshot::Sender>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_log` are never used [INFO] [stdout] --> src/logger.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Logger { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn get_log(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggerActor` is never constructed [INFO] [stdout] --> src/logger.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct LoggerActor { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logger.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl LoggerActor { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 45 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/store.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Error = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/store.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/store.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Insert { key: Vec, value: Vec }, [INFO] [stdout] | ------ ^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StoreEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/store.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Store: Send + 'static { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 20 | fn insert(&self, key: impl Into>, data: impl Into>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/store.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl DataStore { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoreActor` is never constructed [INFO] [stdout] --> src/store.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct StoreActor; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/store.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl StoreActor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 42 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ciphernode_group_length`, `ciphernode_threshold`, and `sortition_seed` are never read [INFO] [stdout] --> src/event.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | ComputationRequested { [INFO] [stdout] | -------------------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 13 | ciphernode_group_length: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | ciphernode_threshold: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | sortition_seed: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnclaveEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `e3_id` and `keyshare` are never read [INFO] [stdout] --> src/event.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | KeyshareCreated { [INFO] [stdout] | --------------- fields in this variant [INFO] [stdout] 20 | e3_id: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | keyshare: PublicKeyShare, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnclaveEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_to_box_i64` is never used [INFO] [stdout] --> src/fhe.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn deserialize_to_box_i64(bytes: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_params` is never used [INFO] [stdout] --> src/fhe.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Fhe { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_params(&self) -> (&Arc, &CommonRandomPoly) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/store.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Insert { key: Vec, value: Vec }, [INFO] [stdout] | ------ ^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StoreEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.64s [INFO] running `Command { std: "docker" "inspect" "4625d02db1751e4ce4fe654124ac64ad3a41a042e1842b52265aa3f5f0324eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4625d02db1751e4ce4fe654124ac64ad3a41a042e1842b52265aa3f5f0324eef", kill_on_drop: false }` [INFO] [stdout] 4625d02db1751e4ce4fe654124ac64ad3a41a042e1842b52265aa3f5f0324eef [INFO] checking ryardley/actor-explore against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryardley%2Factor-explore" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryardley/actor-explore on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryardley/actor-explore [INFO] finished tweaking git repo https://github.com/ryardley/actor-explore [INFO] tweaked toml for git repo https://github.com/ryardley/actor-explore written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ryardley/actor-explore 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd8cdb4374bc0c6398a3f4329897935dfecd46cf8e41ee1e778d652a9e4a0157 [INFO] running `Command { std: "docker" "start" "-a" "fd8cdb4374bc0c6398a3f4329897935dfecd46cf8e41ee1e778d652a9e4a0157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd8cdb4374bc0c6398a3f4329897935dfecd46cf8e41ee1e778d652a9e4a0157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd8cdb4374bc0c6398a3f4329897935dfecd46cf8e41ee1e778d652a9e4a0157", kill_on_drop: false }` [INFO] [stdout] fd8cdb4374bc0c6398a3f4329897935dfecd46cf8e41ee1e778d652a9e4a0157 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e392f887f18692a3a3933d812d23f8d8548aa858013f6671a56ed36c0288868 [INFO] running `Command { std: "docker" "start" "-a" "9e392f887f18692a3a3933d812d23f8d8548aa858013f6671a56ed36c0288868", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fhe-traits v0.1.0-beta.7 (https://github.com/gnosisguild/fhe.rs#9624766d) [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling fhe-math v0.1.0-beta.7 (https://github.com/gnosisguild/fhe.rs#9624766d) [INFO] [stderr] Compiling fhe v0.1.0-beta.7 (https://github.com/gnosisguild/fhe.rs#9624766d) [INFO] [stderr] Checking fhe-util v0.1.0-beta.7 (https://github.com/gnosisguild/fhe.rs#9624766d) [INFO] [stderr] Checking actor-implementation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rngs::OsRng` [INFO] [stdout] --> src/main.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | use rand::{rngs::OsRng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Actor` is never used [INFO] [stdout] --> src/actor_traits.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Actor: Send + 'static { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_actor` is never used [INFO] [stdout] --> src/actor_traits.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn run_actor(actor: A, buffer: usize) -> mpsc::Sender [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_actor` is never used [INFO] [stdout] --> src/actor_traits.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | async fn consume_actor(mut actor: A, mut receiver: Receiver) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ciphernode.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Ciphernode { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(dispatcher: D, store: S, fhe: Fhe, encryptor: E) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CiphernodeActor` is never constructed [INFO] [stdout] --> src/ciphernode.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct CiphernodeActor, R: Rng, E: Encryptor> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `on_computation_requested` are never used [INFO] [stdout] --> src/ciphernode.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 49 | / impl CiphernodeActor [INFO] [stdout] 50 | | where [INFO] [stdout] 51 | | S: Store, [INFO] [stdout] 52 | | D: EventDispatcher, [INFO] [stdout] 53 | | R: Rng, [INFO] [stdout] 54 | | E: Encryptor, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 55 | { [INFO] [stdout] 56 | pub fn new(dispatcher: D, store: S, fhe: Fhe, encryptor: E) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | async fn on_computation_requested(&mut self, e3_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `plaintext` and `reply` are never read [INFO] [stdout] --> src/encryptor.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | Encrypt { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 38 | plaintext: Plaintext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | reply: oneshot::Sender>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encrypt` is never used [INFO] [stdout] --> src/encryptor.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait Encryptor: Send + 'static { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 45 | async fn encrypt(&self, plaintext: Plaintext) -> Result>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/encryptor.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl AesEncryptor { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 54 | pub fn new(key: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EncryptorActor` is never constructed [INFO] [stdout] --> src/encryptor.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct EncryptorActor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `encrypt` are never used [INFO] [stdout] --> src/encryptor.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl EncryptorActor { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 81 | pub fn new(key: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn encrypt(&self, data: Plaintext) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/event.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | RegisterListener(Listener), [INFO] [stdout] | ---------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EnclaveEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | RegisterListener(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ComputationRequested` and `KeyshareCreated` are never constructed [INFO] [stdout] --> src/event.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum EnclaveEvent { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 8 | RegisterListener(Listener), [INFO] [stdout] 9 | ComputationRequested { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | KeyshareCreated { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnclaveEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ciphernode` and `Reporter` are never constructed [INFO] [stdout] --> src/event_dispatcher.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Listener { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 15 | Ciphernode(Ciphernode), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | Reporter(Logger), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Listener` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register` is never used [INFO] [stdout] --> src/event_dispatcher.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait EventDispatcher: ActorSender + Send + 'static { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 31 | async fn register(&self, listener: Listener); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/event_dispatcher.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl EventBus { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventBusActor` is never constructed [INFO] [stdout] --> src/event_dispatcher.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct EventBusActor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `dispatch` are never used [INFO] [stdout] --> src/event_dispatcher.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl EventBusActor { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 66 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | async fn dispatch(&self, event: EnclaveEvent) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/fhe.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Error = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/fhe.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Rng` is never used [INFO] [stdout] --> src/fhe.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Rng: RngCore + CryptoRng + Send + 'static {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_to_box_i64` is never used [INFO] [stdout] --> src/fhe.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn deserialize_to_box_i64(bytes: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fhe` is never constructed [INFO] [stdout] --> src/fhe.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Fhe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fhe` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_params`, and `generate_keyshare` are never used [INFO] [stdout] --> src/fhe.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Fhe { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 87 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_params(&self) -> (&Arc, &CommonRandomPoly) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn generate_keyshare(&self) -> Result<(SecretKey, PublicKeyShare)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/logger.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Log(EnclaveEvent), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LogEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | Log(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GetLog` is never constructed [INFO] [stdout] --> src/logger.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum LogEvent { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 11 | Log(EnclaveEvent), [INFO] [stdout] 12 | GetLog(oneshot::Sender>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_log` are never used [INFO] [stdout] --> src/logger.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Logger { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn get_log(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggerActor` is never constructed [INFO] [stdout] --> src/logger.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct LoggerActor { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logger.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl LoggerActor { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 45 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/store.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Error = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/store.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/store.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Insert { key: Vec, value: Vec }, [INFO] [stdout] | ------ ^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StoreEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/store.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Store: Send + 'static { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 20 | fn insert(&self, key: impl Into>, data: impl Into>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/store.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl DataStore { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoreActor` is never constructed [INFO] [stdout] --> src/store.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct StoreActor; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/store.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl StoreActor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 42 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ciphernode.rs:37:59 [INFO] [stdout] | [INFO] [stdout] 37 | async fn send(&self, msg: EnclaveEvent) -> Result<()> { [INFO] [stdout] | __________________________-----------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | | Ok(self.sender.send(msg).await?) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ciphernode.rs:91:73 [INFO] [stdout] | [INFO] [stdout] 91 | async fn handle_message(&mut self, msg: EnclaveEvent) -> Result<()> { [INFO] [stdout] | ________________________________________-----------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | | match msg { [INFO] [stdout] 93 | | EnclaveEvent::ComputationRequested { e3_id, .. } => { [INFO] [stdout] 94 | | self.on_computation_requested(&e3_id).await? [INFO] [stdout] ... | [INFO] [stdout] 98 | | Ok(()) [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encryptor.rs:99:77 [INFO] [stdout] | [INFO] [stdout] 99 | async fn handle_message(&mut self, msg: EncryptorMessage) -> Result<()> { [INFO] [stdout] | ________________________________________---------------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | | match msg { [INFO] [stdout] 101 | | EncryptorMessage::Encrypt { reply, plaintext } => { [INFO] [stdout] 102 | | let encrypted = self.encrypt(plaintext)?; [INFO] [stdout] ... | [INFO] [stdout] 106 | | Ok(()) [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_dispatcher.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | async fn send(&self, event: EnclaveEvent) -> Result<()> { [INFO] [stdout] | __________________________-------------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | | Ok(match self { [INFO] [stdout] 23 | | Listener::Ciphernode(c) => c.send(event).await?, [INFO] [stdout] 24 | | Listener::Reporter(c) => c.send(event).await?, [INFO] [stdout] 25 | | }) [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_dispatcher.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | async fn register(&self, listener: Listener) { [INFO] [stdout] | ______________________________------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | | let _ = self.send(EnclaveEvent::RegisterListener(listener)).await; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_dispatcher.rs:56:59 [INFO] [stdout] | [INFO] [stdout] 56 | async fn send(&self, msg: EnclaveEvent) -> Result<()> { [INFO] [stdout] | __________________________-----------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | | Ok(self.sender.send(msg).await?) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_dispatcher.rs:80:73 [INFO] [stdout] | [INFO] [stdout] 80 | async fn handle_message(&mut self, msg: EnclaveEvent) -> Result<()> { [INFO] [stdout] | ________________________________________-----------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | | match msg { [INFO] [stdout] 82 | | EnclaveEvent::RegisterListener(listener) => self.listeners.push(listener), [INFO] [stdout] 83 | | other => { [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(()) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fhe.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 88 | rng: Arc>, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let params = BfvParametersBuilder::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let crp = CommonRandomPoly::new(¶ms, &mut *rng.lock().unwrap())?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Ok(Fhe { params, crp, rng }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fhe.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 107 | let sk_share = { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let mut r1 = self.rng.lock().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let pk_share = { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | let mut r2 = self.rng.lock().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Ok((SecretKey(sk_share), PublicKeyShare(pk_share))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/logger.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | async fn send(&self, msg: EnclaveEvent) -> Result<()> { [INFO] [stdout] | __________________________-----------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | Ok(self.sender.send(LogEvent::Log(msg)).await?) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/logger.rs:52:69 [INFO] [stdout] | [INFO] [stdout] 52 | async fn handle_message(&mut self, msg: LogEvent) -> Result<()> { [INFO] [stdout] | ________________________________________-------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | | match msg { [INFO] [stdout] 54 | | LogEvent::Log(log_msg) => self.log.push(log_msg), [INFO] [stdout] 55 | | LogEvent::GetLog(reply) => { [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(()) [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ciphernode_group_length`, `ciphernode_threshold`, and `sortition_seed` are never read [INFO] [stdout] --> src/event.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | ComputationRequested { [INFO] [stdout] | -------------------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 13 | ciphernode_group_length: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | ciphernode_threshold: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | sortition_seed: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnclaveEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `e3_id` and `keyshare` are never read [INFO] [stdout] --> src/event.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | KeyshareCreated { [INFO] [stdout] | --------------- fields in this variant [INFO] [stdout] 20 | e3_id: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | keyshare: PublicKeyShare, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnclaveEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_to_box_i64` is never used [INFO] [stdout] --> src/fhe.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn deserialize_to_box_i64(bytes: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_params` is never used [INFO] [stdout] --> src/fhe.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Fhe { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_params(&self) -> (&Arc, &CommonRandomPoly) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/store.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Insert { key: Vec, value: Vec }, [INFO] [stdout] | ------ ^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StoreEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ciphernode.rs:37:59 [INFO] [stdout] | [INFO] [stdout] 37 | async fn send(&self, msg: EnclaveEvent) -> Result<()> { [INFO] [stdout] | __________________________-----------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | | Ok(self.sender.send(msg).await?) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ciphernode.rs:91:73 [INFO] [stdout] | [INFO] [stdout] 91 | async fn handle_message(&mut self, msg: EnclaveEvent) -> Result<()> { [INFO] [stdout] | ________________________________________-----------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | | match msg { [INFO] [stdout] 93 | | EnclaveEvent::ComputationRequested { e3_id, .. } => { [INFO] [stdout] 94 | | self.on_computation_requested(&e3_id).await? [INFO] [stdout] ... | [INFO] [stdout] 98 | | Ok(()) [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encryptor.rs:99:77 [INFO] [stdout] | [INFO] [stdout] 99 | async fn handle_message(&mut self, msg: EncryptorMessage) -> Result<()> { [INFO] [stdout] | ________________________________________---------------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | | match msg { [INFO] [stdout] 101 | | EncryptorMessage::Encrypt { reply, plaintext } => { [INFO] [stdout] 102 | | let encrypted = self.encrypt(plaintext)?; [INFO] [stdout] ... | [INFO] [stdout] 106 | | Ok(()) [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_dispatcher.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | async fn send(&self, event: EnclaveEvent) -> Result<()> { [INFO] [stdout] | __________________________-------------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | | Ok(match self { [INFO] [stdout] 23 | | Listener::Ciphernode(c) => c.send(event).await?, [INFO] [stdout] 24 | | Listener::Reporter(c) => c.send(event).await?, [INFO] [stdout] 25 | | }) [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_dispatcher.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | async fn register(&self, listener: Listener) { [INFO] [stdout] | ______________________________------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | | let _ = self.send(EnclaveEvent::RegisterListener(listener)).await; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_dispatcher.rs:56:59 [INFO] [stdout] | [INFO] [stdout] 56 | async fn send(&self, msg: EnclaveEvent) -> Result<()> { [INFO] [stdout] | __________________________-----------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | | Ok(self.sender.send(msg).await?) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_dispatcher.rs:80:73 [INFO] [stdout] | [INFO] [stdout] 80 | async fn handle_message(&mut self, msg: EnclaveEvent) -> Result<()> { [INFO] [stdout] | ________________________________________-----------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | | match msg { [INFO] [stdout] 82 | | EnclaveEvent::RegisterListener(listener) => self.listeners.push(listener), [INFO] [stdout] 83 | | other => { [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(()) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fhe.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 88 | rng: Arc>, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let params = BfvParametersBuilder::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let crp = CommonRandomPoly::new(¶ms, &mut *rng.lock().unwrap())?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Ok(Fhe { params, crp, rng }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fhe.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 107 | let sk_share = { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let mut r1 = self.rng.lock().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let pk_share = { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | let mut r2 = self.rng.lock().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Ok((SecretKey(sk_share), PublicKeyShare(pk_share))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/logger.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | async fn send(&self, msg: EnclaveEvent) -> Result<()> { [INFO] [stdout] | __________________________-----------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | Ok(self.sender.send(LogEvent::Log(msg)).await?) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/logger.rs:52:69 [INFO] [stdout] | [INFO] [stdout] 52 | async fn handle_message(&mut self, msg: LogEvent) -> Result<()> { [INFO] [stdout] | ________________________________________-------------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | | match msg { [INFO] [stdout] 54 | | LogEvent::Log(log_msg) => self.log.push(log_msg), [INFO] [stdout] 55 | | LogEvent::GetLog(reply) => { [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(()) [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actor-implementation` (bin "actor-implementation") due to 12 previous errors; 36 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actor-implementation` (bin "actor-implementation" test) due to 12 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9e392f887f18692a3a3933d812d23f8d8548aa858013f6671a56ed36c0288868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e392f887f18692a3a3933d812d23f8d8548aa858013f6671a56ed36c0288868", kill_on_drop: false }` [INFO] [stdout] 9e392f887f18692a3a3933d812d23f8d8548aa858013f6671a56ed36c0288868