[INFO] fetching crate ixc_testing 0.0.5... [INFO] checking ixc_testing-0.0.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ixc_testing 0.0.5 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ixc_testing 0.0.5 [INFO] finished tweaking crates.io crate ixc_testing 0.0.5 [INFO] tweaked toml for crates.io crate ixc_testing 0.0.5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ixc_testing 0.0.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding allocator-api2 v0.2.21 (available: v0.3.0) [INFO] [stderr] Adding imbl v3.0.0 (available: v6.0.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ixc_vm_api v0.0.2 [INFO] [stderr] Downloaded ixc_message_api v0.0.4 [INFO] [stderr] Downloaded ixc_schema_macros v0.0.3 [INFO] [stderr] Downloaded proc-macro-crate v1.3.1 [INFO] [stderr] Downloaded deluxe-macros v0.5.0 [INFO] [stderr] Downloaded proc-macro-utils v0.10.0 [INFO] [stderr] Downloaded manyhow-macros v0.11.4 [INFO] [stderr] Downloaded manyhow v0.11.4 [INFO] [stderr] Downloaded state_objects v0.0.4 [INFO] [stderr] Downloaded state_objects_macros v0.0.3 [INFO] [stderr] Downloaded array-concat v0.5.5 [INFO] [stderr] Downloaded simple_time v0.0.2 [INFO] [stderr] Downloaded deluxe v0.5.0 [INFO] [stderr] Downloaded constcat v0.5.1 [INFO] [stderr] Downloaded bitmaps v3.2.1 [INFO] [stderr] Downloaded arrayvec v0.7.6 [INFO] [stderr] Downloaded imbl-sized-chunks v0.1.3 [INFO] [stderr] Downloaded sptr v0.3.2 [INFO] [stderr] Downloaded toml_edit v0.19.15 [INFO] [stderr] Downloaded ixc_schema v0.0.4 [INFO] [stderr] Downloaded deluxe-core v0.5.0 [INFO] [stderr] Downloaded ixc v0.0.5 [INFO] [stderr] Downloaded imbl v3.0.0 [INFO] [stderr] Downloaded bump-scope v0.9.2 [INFO] [stderr] Downloaded winnow v0.5.40 [INFO] [stderr] Downloaded ixc_core_macros v0.0.4 [INFO] [stderr] Downloaded ixc_core v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c90dbd8fe583aaba3a6f40ee83235235aa405f3f0bbcb5ab583b9cf6cdb59e2e [INFO] running `Command { std: "docker" "start" "-a" "c90dbd8fe583aaba3a6f40ee83235235aa405f3f0bbcb5ab583b9cf6cdb59e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c90dbd8fe583aaba3a6f40ee83235235aa405f3f0bbcb5ab583b9cf6cdb59e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c90dbd8fe583aaba3a6f40ee83235235aa405f3f0bbcb5ab583b9cf6cdb59e2e", kill_on_drop: false }` [INFO] [stdout] c90dbd8fe583aaba3a6f40ee83235235aa405f3f0bbcb5ab583b9cf6cdb59e2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0db673feada17cb20c904aa0e22dab32f8e36fa11591f69b61f3145b8dfb1c6e [INFO] running `Command { std: "docker" "start" "-a" "0db673feada17cb20c904aa0e22dab32f8e36fa11591f69b61f3145b8dfb1c6e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking simple_time v0.0.2 [INFO] [stderr] Checking constcat v0.5.1 [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bitmaps v3.2.1 [INFO] [stderr] Checking array-concat v0.5.5 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking bump-scope v0.9.2 [INFO] [stderr] Checking imbl-sized-chunks v0.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Checking imbl v3.0.0 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Checking ixc_message_api v0.0.4 [INFO] [stderr] Checking ixc_vm_api v0.0.2 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling ixc_schema_macros v0.0.3 [INFO] [stderr] Compiling ixc_core_macros v0.0.4 [INFO] [stderr] Compiling state_objects_macros v0.0.3 [INFO] [stderr] Checking ixc_schema v0.0.4 [INFO] [stderr] Checking ixc_core v0.0.4 [INFO] [stderr] Checking state_objects v0.0.4 [INFO] [stderr] Checking ixc v0.0.5 [INFO] [stderr] Checking ixc_testing v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/hypervisor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/hypervisor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc::SchemaValue` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ixc::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InitMessage` and `Service` [INFO] [stdout] --> src/lib.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use ixc_core::handler::{Handler, Service, Client, InitMessage, HandlerClient}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | use ixc_core::routing::{Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc::SchemaValue` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ixc::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/store.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | _ => Err(todo!()) [INFO] [stdout] | ^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/store.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | _ => Err(todo!()) [INFO] [stdout] | ^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | use ixc_core::routing::{Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Service` [INFO] [stdout] --> src/lib.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use ixc_core::handler::{Handler, Service, Client, InitMessage, HandlerClient}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InitMessage` [INFO] [stdout] --> src/lib.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | use ixc_core::handler::{Handler, Service, Client, InitMessage, HandlerClient}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawHandler` [INFO] [stdout] --> src/hypervisor.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | use ixc_message_api::handler::{Allocator, HostBackend, RawHandler}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawHandler` [INFO] [stdout] --> src/hypervisor.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | use ixc_message_api::handler::{Allocator, HostBackend, RawHandler}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut store = current_frame.get_kv_store(account_id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut store = current_frame.get_kv_store(account_id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/store.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let key = packet.header().in_pointer1.get(packet); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/store.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | None => unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut store = current_frame.get_kv_store(account_id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut current_store = current_frame.get_kv_store(account); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut store = current_frame.get_kv_store(account_id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/store.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe fn delete(&self, packet: &mut MessagePacket) -> Result<(), ErrorCode> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/store.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let key = packet.header().in_pointer1.get(packet); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/store.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | fn track_access(&self, key: &[u8], access: Access) -> Result<(), AccessError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access` [INFO] [stdout] --> src/store.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | fn track_access(&self, key: &[u8], access: Access) -> Result<(), AccessError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/store.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | None => unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut current_store = current_frame.get_kv_store(account); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/store.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe fn delete(&self, packet: &mut MessagePacket) -> Result<(), ErrorCode> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/store.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | fn track_access(&self, key: &[u8], access: Access) -> Result<(), AccessError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access` [INFO] [stdout] --> src/store.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | fn track_access(&self, key: &[u8], access: Access) -> Result<(), AccessError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hypervisor.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut vmdata = Arc::get_mut(&mut self.vmdata).ok_or(())?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hypervisor.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut vmdata = Arc::get_mut(&mut self.vmdata).ok_or(())?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hypervisor.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut exec_context = ExecContext { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hypervisor.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut vmdata = Arc::get_mut(&mut self.vmdata).ok_or(())?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hypervisor.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut vmdata = Arc::get_mut(&mut self.vmdata).ok_or(())?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hypervisor.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut exec_context = ExecContext { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc` [INFO] [stdout] --> src/hypervisor.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | let desc = vm.describe_handler(&handler_id.vm_handler_id). [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hypervisor.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | let mut on_create_header = on_create_packet.header_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc` [INFO] [stdout] --> src/hypervisor.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | let desc = vm.describe_handler(&handler_id.vm_handler_id). [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn create(&self, ctx: &mut Context) -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hypervisor.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | let mut on_create_header = on_create_packet.header_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mem` is never read [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct TestApp { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | mem: MemoryManager, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `accumulator_store` is never read [INFO] [stdout] --> src/store.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Store { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 54 | kv_store: OrdMap, Vec>, [INFO] [stdout] 55 | accumulator_store: OrdMap, u128>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Store` 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: fields `account`, `key`, and `operation` are never read [INFO] [stdout] --> src/store.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Update { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 60 | account: AccountID, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | key: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | operation: Operation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/store.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Set(Vec), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Clone`, 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] 67 - Set(Vec), [INFO] [stdout] 67 + Set(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add` and `SafeSub` are never constructed [INFO] [stdout] --> src/store.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 66 | enum Operation { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 69 | Add(u128), [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | SafeSub(u128), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/store.rs:234:6 [INFO] [stdout] | [INFO] [stdout] 234 | enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_tx` is never read [INFO] [stdout] --> src/store.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct Frame { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 251 | user_tx: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new_client_context(&self) -> ClientResult { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new_client_context(&self) -> ClientResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn client_context_for(&self, account_id: AccountID) -> Context [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn client_context_for(&self, account_id: AccountID) -> Context<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn create(&self, ctx: &mut Context) -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mem` is never read [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct TestApp { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | mem: MemoryManager, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `accumulator_store` is never read [INFO] [stdout] --> src/store.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Store { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 54 | kv_store: OrdMap, Vec>, [INFO] [stdout] 55 | accumulator_store: OrdMap, u128>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Store` 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: fields `account`, `key`, and `operation` are never read [INFO] [stdout] --> src/store.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Update { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 60 | account: AccountID, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | key: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | operation: Operation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/store.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Set(Vec), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Clone`, 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] 67 - Set(Vec), [INFO] [stdout] 67 + Set(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add` and `SafeSub` are never constructed [INFO] [stdout] --> src/store.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 66 | enum Operation { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 69 | Add(u128), [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | SafeSub(u128), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/store.rs:234:6 [INFO] [stdout] | [INFO] [stdout] 234 | enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_tx` is never read [INFO] [stdout] --> src/store.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct Frame { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 251 | user_tx: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new_client_context(&self) -> ClientResult { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new_client_context(&self) -> ClientResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn client_context_for(&self, account_id: AccountID) -> Context [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn client_context_for(&self, account_id: AccountID) -> Context<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.98s [INFO] running `Command { std: "docker" "inspect" "0db673feada17cb20c904aa0e22dab32f8e36fa11591f69b61f3145b8dfb1c6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db673feada17cb20c904aa0e22dab32f8e36fa11591f69b61f3145b8dfb1c6e", kill_on_drop: false }` [INFO] [stdout] 0db673feada17cb20c904aa0e22dab32f8e36fa11591f69b61f3145b8dfb1c6e