[INFO] fetching crate ixc_schema 0.0.4... [INFO] checking ixc_schema-0.0.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ixc_schema 0.0.4 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ixc_schema 0.0.4 [INFO] finished tweaking crates.io crate ixc_schema 0.0.4 [INFO] tweaked toml for crates.io crate ixc_schema 0.0.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ixc_schema 0.0.4 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] Updating crates.io index [INFO] [stderr] Locking 80 packages to latest compatible versions [INFO] [stderr] Adding allocator-api2 v0.2.21 (available: v0.3.0) [INFO] [stderr] Adding proptest-derive v0.5.1 (available: v0.6.0) [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 proptest-derive v0.5.1 [INFO] [stderr] Downloaded ixc_message_api v0.0.4 [INFO] [stderr] Downloaded simple_time v0.0.2 [INFO] [stderr] Downloaded deluxe v0.5.0 [INFO] [stderr] Downloaded ixc_schema_macros v0.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f002ae81bb876708ef0b66ffdef4e2526c8054de8a4e3cfe1d04ce880292934f [INFO] running `Command { std: "docker" "start" "-a" "f002ae81bb876708ef0b66ffdef4e2526c8054de8a4e3cfe1d04ce880292934f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f002ae81bb876708ef0b66ffdef4e2526c8054de8a4e3cfe1d04ce880292934f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f002ae81bb876708ef0b66ffdef4e2526c8054de8a4e3cfe1d04ce880292934f", kill_on_drop: false }` [INFO] [stdout] f002ae81bb876708ef0b66ffdef4e2526c8054de8a4e3cfe1d04ce880292934f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8640c47e40beb09d170d1a2610eb286491f30c1bef947be75a9363afc2bdbea7 [INFO] running `Command { std: "docker" "start" "-a" "8640c47e40beb09d170d1a2610eb286491f30c1bef947be75a9363afc2bdbea7", 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 libc v0.2.175 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking simple_time v0.0.2 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling proptest-derive v0.5.1 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking ixc_message_api v0.0.4 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling ixc_schema_macros v0.0.3 [INFO] [stderr] Checking ixc_schema v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `arrayvec` [INFO] [stdout] --> src/value.rs:482:7 [INFO] [stdout] | [INFO] [stdout] 482 | #[cfg(feature = "arrayvec")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bumpalo`, `default`, `std`, and `use_ixc_macro_path` [INFO] [stdout] = help: consider adding `arrayvec` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arrayvec` [INFO] [stdout] --> src/value.rs:484:7 [INFO] [stdout] | [INFO] [stdout] 484 | #[cfg(feature = "arrayvec")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bumpalo`, `default`, `std`, and `use_ixc_macro_path` [INFO] [stdout] = help: consider adding `arrayvec` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc_message_api::handler::Allocator` [INFO] [stdout] --> src/value.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ixc_message_api::handler::Allocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc_message_api::packet::MessagePacket` [INFO] [stdout] --> src/value.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ixc_message_api::packet::MessagePacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc_message_api::AccountID` [INFO] [stdout] --> src/types.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ixc_message_api::AccountID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Writer` [INFO] [stdout] --> src/state_object/value.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::buffer::{WriterFactory, Writer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Writer` [INFO] [stdout] --> src/codec.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::buffer::{Writer, WriterFactory}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::SchemaValue` [INFO] [stdout] --> src/decoder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::value::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ObjectKey` and `ObjectValue` [INFO] [stdout] --> src/binary/mod.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::state_object::{ObjectKey, ObjectValue}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::SchemaValue` [INFO] [stdout] --> src/binary/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::value::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StructDecodeVisitor` [INFO] [stdout] --> src/binary/encoder.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structs::{StructDecodeVisitor, StructEncodeVisitor, StructType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/binary/encoder.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | /// TODO find a more efficient way to encode time [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | self.encode_i128(x.unix_nanos()) [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/binary/encoder.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | /// TODO find a more efficient way to encode duration [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | self.encode_i128(x.nanos()) [INFO] [stdout] | --------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::SchemaValue` [INFO] [stdout] --> src/binary/decoder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::value::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `allocator_api2::alloc::Allocator` [INFO] [stdout] --> src/binary/decoder.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | use allocator_api2::alloc::Allocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::binary::decoder::decode_value` [INFO] [stdout] --> src/binary/decoder.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | use crate::binary::decoder::decode_value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DecodeError` [INFO] [stdout] --> src/binary/decoder.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 279 | use crate::decoder::{DecodeError, Decoder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EncodeError` [INFO] [stdout] --> src/binary/decoder.rs:280:26 [INFO] [stdout] | [INFO] [stdout] 280 | use crate::encoder::{EncodeError, Encoder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::field::Field` [INFO] [stdout] --> src/binary/decoder.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | use crate::field::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::SchemaType` [INFO] [stdout] --> src/binary/decoder.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | use crate::schema::SchemaType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state_object::ObjectFieldValue` [INFO] [stdout] --> src/binary/decoder.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | use crate::state_object::ObjectFieldValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arrayvec` [INFO] [stdout] --> src/value.rs:482:7 [INFO] [stdout] | [INFO] [stdout] 482 | #[cfg(feature = "arrayvec")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bumpalo`, `default`, `std`, and `use_ixc_macro_path` [INFO] [stdout] = help: consider adding `arrayvec` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arrayvec` [INFO] [stdout] --> src/value.rs:484:7 [INFO] [stdout] | [INFO] [stdout] 484 | #[cfg(feature = "arrayvec")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bumpalo`, `default`, `std`, and `use_ixc_macro_path` [INFO] [stdout] = help: consider adding `arrayvec` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc_message_api::packet::MessagePacket` [INFO] [stdout] --> src/value.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ixc_message_api::packet::MessagePacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc_message_api::AccountID` [INFO] [stdout] --> src/types.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ixc_message_api::AccountID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StructDecodeVisitor`, `StructEncodeVisitor`, `StructSchema`, and `StructType` [INFO] [stdout] --> src/binary/decoder.rs:285:26 [INFO] [stdout] | [INFO] [stdout] 285 | use crate::structs::{StructDecodeVisitor, StructEncodeVisitor, StructSchema, StructType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReferenceableType`, `StrT`, `StructT`, `UIntNT`, and `to_field` [INFO] [stdout] --> src/binary/decoder.rs:286:24 [INFO] [stdout] | [INFO] [stdout] 286 | use crate::types::{to_field, ReferenceableType, StrT, StructT, UIntNT}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListElementValue` and `SchemaValue` [INFO] [stdout] --> src/binary/decoder.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | use crate::value::{ListElementValue, SchemaValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Time` [INFO] [stdout] --> src/binary/mod.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | use simple_time::{Duration, Time}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Writer` [INFO] [stdout] --> src/state_object/value.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::buffer::{WriterFactory, Writer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr::slice_from_raw_parts_mut` [INFO] [stdout] --> src/buffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::ptr::slice_from_raw_parts_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MESSAGE_HEADER_SIZE` and `MessageHeader` [INFO] [stdout] --> src/mem.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | use ixc_message_api::header::{MessageHeader, MESSAGE_HEADER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc_message_api::packet::MessagePacket` [INFO] [stdout] --> src/mem.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ixc_message_api::packet::MessagePacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mem.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | / /// Rust doesn't know what the lifetime of this data is, but we do because [INFO] [stdout] 47 | | /// we allocated it and own the allocator, [INFO] [stdout] 48 | | /// so we transmute it to have the appropriate lifetime [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] 49 | dropper: transmute(dropper as NonNull), [INFO] [stdout] | ----------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc_message_api::header::MessageSelector` [INFO] [stdout] --> src/message.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ixc_message_api::header::MessageSelector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::codec::Codec` [INFO] [stdout] --> src/message.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::codec::Codec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::SchemaValue` [INFO] [stdout] --> src/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structs::StructSchema` [INFO] [stdout] --> src/message.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structs::StructSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::OptionalValue` [INFO] [stdout] --> src/message.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::value::OptionalValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Writer` [INFO] [stdout] --> src/codec.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::buffer::{Writer, WriterFactory}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::SchemaValue` [INFO] [stdout] --> src/decoder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::value::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ObjectKey` and `ObjectValue` [INFO] [stdout] --> src/binary/mod.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::state_object::{ObjectKey, ObjectValue}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::SchemaValue` [INFO] [stdout] --> src/binary/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::value::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StructDecodeVisitor` [INFO] [stdout] --> src/binary/encoder.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structs::{StructDecodeVisitor, StructEncodeVisitor, StructType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/binary/encoder.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | /// TODO find a more efficient way to encode time [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | self.encode_i128(x.unix_nanos()) [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/binary/encoder.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | /// TODO find a more efficient way to encode duration [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | self.encode_i128(x.nanos()) [INFO] [stdout] | --------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::SchemaValue` [INFO] [stdout] --> src/binary/decoder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::value::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr::slice_from_raw_parts_mut` [INFO] [stdout] --> src/buffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::ptr::slice_from_raw_parts_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MESSAGE_HEADER_SIZE` and `MessageHeader` [INFO] [stdout] --> src/mem.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | use ixc_message_api::header::{MessageHeader, MESSAGE_HEADER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc_message_api::packet::MessagePacket` [INFO] [stdout] --> src/mem.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ixc_message_api::packet::MessagePacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mem.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | / /// Rust doesn't know what the lifetime of this data is, but we do because [INFO] [stdout] 47 | | /// we allocated it and own the allocator, [INFO] [stdout] 48 | | /// so we transmute it to have the appropriate lifetime [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] 49 | dropper: transmute(dropper as NonNull), [INFO] [stdout] | ----------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc_message_api::header::MessageSelector` [INFO] [stdout] --> src/message.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ixc_message_api::header::MessageSelector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::codec::Codec` [INFO] [stdout] --> src/message.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::codec::Codec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::SchemaValue` [INFO] [stdout] --> src/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structs::StructSchema` [INFO] [stdout] --> src/message.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structs::StructSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::OptionalValue` [INFO] [stdout] --> src/message.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::value::OptionalValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ixc_message_api::handler::Allocator` [INFO] [stdout] --> src/value.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ixc_message_api::handler::Allocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state_object::ObjectValue` [INFO] [stdout] --> src/binary/encoder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::state_object::ObjectValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state_object::ObjectValue` [INFO] [stdout] --> src/binary/decoder.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state_object::ObjectValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::SchemaValue` [INFO] [stdout] --> src/binary/encoder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::value::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/value.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 48 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/value.rs:360:54 [INFO] [stdout] | [INFO] [stdout] 360 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/value.rs:378:54 [INFO] [stdout] | [INFO] [stdout] 378 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoder` [INFO] [stdout] --> src/value.rs:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | fn encode(&self, encoder: &mut dyn Encoder) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/value.rs:452:54 [INFO] [stdout] | [INFO] [stdout] 452 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/value.rs:473:54 [INFO] [stdout] | [INFO] [stdout] 473 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cdc` [INFO] [stdout] --> src/value.rs:505:21 [INFO] [stdout] | [INFO] [stdout] 505 | fn decode_value(cdc: &dyn Codec, data: &'a [u8], memory_manager: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cdc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/value.rs:505:38 [INFO] [stdout] | [INFO] [stdout] 505 | fn decode_value(cdc: &dyn Codec, data: &'a [u8], memory_manager: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/value.rs:505:54 [INFO] [stdout] | [INFO] [stdout] 505 | fn decode_value(cdc: &dyn Codec, data: &'a [u8], memory_manager: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cdc` [INFO] [stdout] --> src/value.rs:509:25 [INFO] [stdout] | [INFO] [stdout] 509 | fn encode_value<'b>(cdc: &dyn Codec, value: &Self::Value, writer_factory: &'b dyn WriterFactory) -> Result, EncodeEr... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cdc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/value.rs:509:42 [INFO] [stdout] | [INFO] [stdout] 509 | fn encode_value<'b>(cdc: &dyn Codec, value: &Self::Value, writer_factory: &'b dyn WriterFactory) -> Result, EncodeEr... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer_factory` [INFO] [stdout] --> src/value.rs:509:63 [INFO] [stdout] | [INFO] [stdout] 509 | ...value: &Self::Value, writer_factory: &'b dyn WriterFactory) -> Result, EncodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer_factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/value.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | unsafe { decode_value(cdc, data, memory_manager) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/state_object/value.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | fn encode<'a>(value: &Self::In<'a>, encoder: &mut dyn Encoder) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoder` [INFO] [stdout] --> src/state_object/value.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | fn encode<'a>(value: &Self::In<'a>, encoder: &mut dyn Encoder) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/state_object/value.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | fn decode<'a>(decoder: &mut dyn Decoder<'a>, mem: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/state_object/value.rs:58:50 [INFO] [stdout] | [INFO] [stdout] 58 | fn decode<'a>(decoder: &mut dyn Decoder<'a>, mem: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn encode<'a>(key: &Self::In<'a>, writer: &mut ReverseSliceWriter) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/state_object/key.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | fn encode<'a>(key: &Self::In<'a>, writer: &mut ReverseSliceWriter) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/state_object/key.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | fn decode<'a>(input: &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn decode<'a>(input: &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 0 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 1 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 2 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encoder` [INFO] [stdout] --> src/binary/decoder.rs:280:39 [INFO] [stdout] | [INFO] [stdout] 280 | use crate::encoder::{EncodeError, Encoder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decoder` [INFO] [stdout] --> src/binary/decoder.rs:279:39 [INFO] [stdout] | [INFO] [stdout] 279 | use crate::decoder::{DecodeError, Decoder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 4 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state_object::ObjectValue` [INFO] [stdout] --> src/binary/decoder.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state_object::ObjectValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::SchemaValue` [INFO] [stdout] --> src/binary/encoder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::value::SchemaValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 8 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state_object::ObjectValue` [INFO] [stdout] --> src/binary/encoder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::state_object::ObjectValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 16 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/value.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 48 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 1 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 2 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:137:42 [INFO] [stdout] | [INFO] [stdout] 137 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 4 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:152:42 [INFO] [stdout] | [INFO] [stdout] 152 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 8 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:166:42 [INFO] [stdout] | [INFO] [stdout] 166 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 16 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/value.rs:360:54 [INFO] [stdout] | [INFO] [stdout] 360 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/value.rs:378:54 [INFO] [stdout] | [INFO] [stdout] 378 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 1 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 12 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 12 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:220:42 [INFO] [stdout] | [INFO] [stdout] 220 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 8 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:240:42 [INFO] [stdout] | [INFO] [stdout] 240 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:251:51 [INFO] [stdout] | [INFO] [stdout] 251 | fn decode_terminal<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:274:42 [INFO] [stdout] | [INFO] [stdout] 274 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | fn decode_terminal<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_type` [INFO] [stdout] --> src/decoder.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | fn decode_enum(&mut self, enum_type: &EnumType) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/decoder.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | fn from(value: DecodeError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoder` [INFO] [stdout] --> src/value.rs:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | fn encode(&self, encoder: &mut dyn Encoder) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/value.rs:452:54 [INFO] [stdout] | [INFO] [stdout] 452 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/value.rs:473:54 [INFO] [stdout] | [INFO] [stdout] 473 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cdc` [INFO] [stdout] --> src/value.rs:505:21 [INFO] [stdout] | [INFO] [stdout] 505 | fn decode_value(cdc: &dyn Codec, data: &'a [u8], memory_manager: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cdc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/value.rs:505:38 [INFO] [stdout] | [INFO] [stdout] 505 | fn decode_value(cdc: &dyn Codec, data: &'a [u8], memory_manager: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/value.rs:505:54 [INFO] [stdout] | [INFO] [stdout] 505 | fn decode_value(cdc: &dyn Codec, data: &'a [u8], memory_manager: &'a MemoryManager) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cdc` [INFO] [stdout] --> src/value.rs:509:25 [INFO] [stdout] | [INFO] [stdout] 509 | fn encode_value<'b>(cdc: &dyn Codec, value: &Self::Value, writer_factory: &'b dyn WriterFactory) -> Result, EncodeEr... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cdc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/value.rs:509:42 [INFO] [stdout] | [INFO] [stdout] 509 | fn encode_value<'b>(cdc: &dyn Codec, value: &Self::Value, writer_factory: &'b dyn WriterFactory) -> Result, EncodeEr... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer_factory` [INFO] [stdout] --> src/value.rs:509:63 [INFO] [stdout] | [INFO] [stdout] 509 | ...value: &Self::Value, writer_factory: &'b dyn WriterFactory) -> Result, EncodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer_factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/value.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | unsafe { decode_value(cdc, data, memory_manager) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/binary/encoder.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | for f in struct_type.fields.iter().rev() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | fn encode_u32(&mut self, x: u32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | fn encode_i32(&mut self, x: i32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | fn encode_u64(&mut self, x: u64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn encode_u128(&mut self, x: u128) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/binary/encoder.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | for f in struct_type.fields { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:167:37 [INFO] [stdout] | [INFO] [stdout] 167 | fn encode_account_id(&mut self, x: AccountID) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_type` [INFO] [stdout] --> src/binary/encoder.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | fn encode_enum(&mut self, x: i32, enum_type: &EnumType) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:176:31 [INFO] [stdout] | [INFO] [stdout] 176 | fn encode_bool(&mut self, x: bool) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | fn encode_u8(&mut self, x: u8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | fn encode_u16(&mut self, x: u16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | fn encode_i8(&mut self, x: i8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 196 | fn encode_i16(&mut self, x: i16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | fn encode_i64(&mut self, x: i64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | fn encode_i128(&mut self, x: i128) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/state_object/value.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | fn encode<'a>(value: &Self::In<'a>, encoder: &mut dyn Encoder) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoder` [INFO] [stdout] --> src/state_object/value.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | fn encode<'a>(value: &Self::In<'a>, encoder: &mut dyn Encoder) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/state_object/value.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | fn decode<'a>(decoder: &mut dyn Decoder<'a>, mem: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/state_object/value.rs:58:50 [INFO] [stdout] | [INFO] [stdout] 58 | fn decode<'a>(decoder: &mut dyn Decoder<'a>, mem: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:332:30 [INFO] [stdout] | [INFO] [stdout] 332 | fn encode_u32(&mut self, x: u32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | fn encode_i32(&mut self, x: i32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:342:30 [INFO] [stdout] | [INFO] [stdout] 342 | fn encode_u64(&mut self, x: u64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:366:37 [INFO] [stdout] | [INFO] [stdout] 366 | fn encode_account_id(&mut self, x: AccountID) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:371:31 [INFO] [stdout] | [INFO] [stdout] 371 | fn encode_bool(&mut self, x: bool) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | fn encode_u8(&mut self, x: u8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:381:30 [INFO] [stdout] | [INFO] [stdout] 381 | fn encode_u16(&mut self, x: u16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:386:29 [INFO] [stdout] | [INFO] [stdout] 386 | fn encode_i8(&mut self, x: i8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:391:30 [INFO] [stdout] | [INFO] [stdout] 391 | fn encode_i16(&mut self, x: i16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:396:30 [INFO] [stdout] | [INFO] [stdout] 396 | fn encode_i64(&mut self, x: i64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:401:31 [INFO] [stdout] | [INFO] [stdout] 401 | fn encode_i128(&mut self, x: i128) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_type` [INFO] [stdout] --> src/encoder.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | fn encode_enum(&mut self, x: i32, enum_type: &EnumType) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/encoder.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | fn from(value: EncodeError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn encode<'a>(key: &Self::In<'a>, writer: &mut ReverseSliceWriter) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/state_object/key.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | fn encode<'a>(key: &Self::In<'a>, writer: &mut ReverseSliceWriter) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/state_object/key.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | fn decode<'a>(input: &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn decode<'a>(input: &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 0 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/bump.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe fn deallocate(&self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/bump.rs:60:51 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe fn deallocate(&self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 1 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 2 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 4 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 8 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 16 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn encode_u32(&mut self, x: u32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | fn encode_i32(&mut self, x: i32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn encode_u64(&mut self, x: u64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | fn encode_u128(&mut self, x: u128) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn encode_str(&mut self, x: &str) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/json/encoder.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | fn encode_list(&mut self, visitor: &dyn ListEncodeVisitor) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/json/encoder.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | fn encode_struct(&mut self, visitor: &dyn StructEncodeVisitor, struct_type: &StructType) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_type` [INFO] [stdout] --> src/json/encoder.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 37 | fn encode_struct(&mut self, visitor: &dyn StructEncodeVisitor, struct_type: &StructType) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | fn encode_account_id(&mut self, x: AccountID) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | fn encode_bool(&mut self, x: bool) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | fn encode_u8(&mut self, x: u8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn encode_u16(&mut self, x: u16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | fn encode_i8(&mut self, x: i8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | fn encode_i16(&mut self, x: i16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | fn encode_i64(&mut self, x: i64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | fn encode_i128(&mut self, x: i128) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | fn encode_bytes(&mut self, x: &[u8]) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | fn encode_time(&mut self, x: Time) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | fn encode_duration(&mut self, x: Duration) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/json/encoder.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | fn encode_option(&mut self, visitor: Option<&dyn ValueEncodeVisitor>) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 1 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 2 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:137:42 [INFO] [stdout] | [INFO] [stdout] 137 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 4 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:152:42 [INFO] [stdout] | [INFO] [stdout] 152 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 8 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:166:42 [INFO] [stdout] | [INFO] [stdout] 166 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 16 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 1 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 12 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 12 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:220:42 [INFO] [stdout] | [INFO] [stdout] 220 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/state_object/key_field.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 8 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:240:42 [INFO] [stdout] | [INFO] [stdout] 240 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:251:51 [INFO] [stdout] | [INFO] [stdout] 251 | fn decode_terminal<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `types::ListElementType` is more private than the item `ListElementValue` [INFO] [stdout] --> src/value.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | pub trait ListElementValue<'a>: SchemaValue<'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `ListElementValue` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `types::ListElementType` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) trait ListElementType: Type {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:274:42 [INFO] [stdout] | [INFO] [stdout] 274 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/state_object/key_field.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | fn decode_terminal<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Private` is more private than the item `types::Type` [INFO] [stdout] --> src/types.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Type: Private { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ trait `types::Type` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Private` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/types.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | trait Private {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `types::ListElementType` is more private than the item `types::ListT` [INFO] [stdout] --> src/types.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct ListT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `types::ListT` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `types::ListElementType` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) trait ListElementType: Type {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EnumNumericType` is more private than the item `EnumSchema::NumericType` [INFO] [stdout] --> src/enums.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | type NumericType: EnumNumericType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated type `EnumSchema::NumericType` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `EnumNumericType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/enums.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | trait EnumNumericType: Type {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_enum` is never used [INFO] [stdout] --> src/enums.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn encode_enum(x: &E, encoder: &mut dyn Encoder) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_enum` is never used [INFO] [stdout] --> src/enums.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn decode_enum(decoder: &mut dyn Decoder) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `N` is never used [INFO] [stdout] --> src/fields.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait FieldTypes { [INFO] [stdout] | ---------- associated constant in this trait [INFO] [stdout] 5 | const N: usize; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Encoder` is never constructed [INFO] [stdout] --> src/json/encoder.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Encoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_type` [INFO] [stdout] --> src/decoder.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | fn decode_enum(&mut self, enum_type: &EnumType) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/decoder.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | fn from(value: DecodeError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state_object/key_field.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | writer.write(&[0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 231 | let _ = writer.write(&[0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn new_reverse(&self, size: usize) -> Result; [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] 13 | fn new_reverse(&self, size: usize) -> Result, EncodeError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | fn new_reverse(&self, size: usize) -> Result { [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] 25 | fn new_reverse(&self, size: usize) -> Result, EncodeError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | fn new_reverse(&self, size: usize) -> Result { [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] 39 | fn new_reverse(&self, size: usize) -> Result, EncodeError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/binary/encoder.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | for f in struct_type.fields.iter().rev() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | fn encode_u32(&mut self, x: u32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | fn encode_i32(&mut self, x: i32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | fn encode_u64(&mut self, x: u64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn encode_u128(&mut self, x: u128) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/binary/encoder.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | for f in struct_type.fields { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:167:37 [INFO] [stdout] | [INFO] [stdout] 167 | fn encode_account_id(&mut self, x: AccountID) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_type` [INFO] [stdout] --> src/binary/encoder.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | fn encode_enum(&mut self, x: i32, enum_type: &EnumType) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:176:31 [INFO] [stdout] | [INFO] [stdout] 176 | fn encode_bool(&mut self, x: bool) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | fn encode_u8(&mut self, x: u8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | fn encode_u16(&mut self, x: u16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | fn encode_i8(&mut self, x: i8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 196 | fn encode_i16(&mut self, x: i16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | fn encode_i64(&mut self, x: i64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | fn encode_i128(&mut self, x: i128) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:332:30 [INFO] [stdout] | [INFO] [stdout] 332 | fn encode_u32(&mut self, x: u32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | fn encode_i32(&mut self, x: i32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:342:30 [INFO] [stdout] | [INFO] [stdout] 342 | fn encode_u64(&mut self, x: u64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:366:37 [INFO] [stdout] | [INFO] [stdout] 366 | fn encode_account_id(&mut self, x: AccountID) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:371:31 [INFO] [stdout] | [INFO] [stdout] 371 | fn encode_bool(&mut self, x: bool) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | fn encode_u8(&mut self, x: u8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:381:30 [INFO] [stdout] | [INFO] [stdout] 381 | fn encode_u16(&mut self, x: u16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:386:29 [INFO] [stdout] | [INFO] [stdout] 386 | fn encode_i8(&mut self, x: i8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:391:30 [INFO] [stdout] | [INFO] [stdout] 391 | fn encode_i16(&mut self, x: i16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:396:30 [INFO] [stdout] | [INFO] [stdout] 396 | fn encode_i64(&mut self, x: i64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/binary/encoder.rs:401:31 [INFO] [stdout] | [INFO] [stdout] 401 | fn encode_i128(&mut self, x: i128) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/binary/decoder.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | let mut mem = MemoryManager::new(); [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/binary/decoder.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let mut mem = MemoryManager::new(); [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/binary/decoder.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | let mut mem = MemoryManager::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_type` [INFO] [stdout] --> src/encoder.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | fn encode_enum(&mut self, x: i32, enum_type: &EnumType) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/encoder.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | fn from(value: EncodeError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/bump.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe fn deallocate(&self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/bump.rs:60:51 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe fn deallocate(&self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn encode_u32(&mut self, x: u32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | fn encode_i32(&mut self, x: i32) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn encode_u64(&mut self, x: u64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | fn encode_u128(&mut self, x: u128) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn encode_str(&mut self, x: &str) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/json/encoder.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | fn encode_list(&mut self, visitor: &dyn ListEncodeVisitor) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/json/encoder.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | fn encode_struct(&mut self, visitor: &dyn StructEncodeVisitor, struct_type: &StructType) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_type` [INFO] [stdout] --> src/json/encoder.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 37 | fn encode_struct(&mut self, visitor: &dyn StructEncodeVisitor, struct_type: &StructType) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | fn encode_account_id(&mut self, x: AccountID) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | fn encode_bool(&mut self, x: bool) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | fn encode_u8(&mut self, x: u8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn encode_u16(&mut self, x: u16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | fn encode_i8(&mut self, x: i8) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | fn encode_i16(&mut self, x: i16) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | fn encode_i64(&mut self, x: i64) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | fn encode_i128(&mut self, x: i128) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | fn encode_bytes(&mut self, x: &[u8]) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | fn encode_time(&mut self, x: Time) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/json/encoder.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | fn encode_duration(&mut self, x: Duration) -> Result<(), EncodeError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/json/encoder.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | fn encode_option(&mut self, visitor: Option<&dyn ValueEncodeVisitor>) -> Result<(), EncodeError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `types::ListElementType` is more private than the item `ListElementValue` [INFO] [stdout] --> src/value.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | pub trait ListElementValue<'a>: SchemaValue<'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `ListElementValue` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `types::ListElementType` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) trait ListElementType: Type {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Private` is more private than the item `types::Type` [INFO] [stdout] --> src/types.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Type: Private { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ trait `types::Type` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Private` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/types.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | trait Private {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `types::ListElementType` is more private than the item `types::ListT` [INFO] [stdout] --> src/types.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct ListT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `types::ListT` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `types::ListElementType` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) trait ListElementType: Type {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EnumNumericType` is more private than the item `EnumSchema::NumericType` [INFO] [stdout] --> src/enums.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | type NumericType: EnumNumericType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated type `EnumSchema::NumericType` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `EnumNumericType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/enums.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | trait EnumNumericType: Type {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_enum` is never used [INFO] [stdout] --> src/enums.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn encode_enum(x: &E, encoder: &mut dyn Encoder) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_enum` is never used [INFO] [stdout] --> src/enums.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn decode_enum(decoder: &mut dyn Decoder) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `N` is never used [INFO] [stdout] --> src/fields.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait FieldTypes { [INFO] [stdout] | ---------- associated constant in this trait [INFO] [stdout] 5 | const N: usize; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Encoder` is never constructed [INFO] [stdout] --> src/json/encoder.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Encoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state_object/key_field.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | writer.write(&[0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 231 | let _ = writer.write(&[0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn new_reverse(&self, size: usize) -> Result; [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] 13 | fn new_reverse(&self, size: usize) -> Result, EncodeError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | fn new_reverse(&self, size: usize) -> Result { [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] 25 | fn new_reverse(&self, size: usize) -> Result, EncodeError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | fn new_reverse(&self, size: usize) -> Result { [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] 39 | fn new_reverse(&self, size: usize) -> Result, EncodeError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.26s [INFO] running `Command { std: "docker" "inspect" "8640c47e40beb09d170d1a2610eb286491f30c1bef947be75a9363afc2bdbea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8640c47e40beb09d170d1a2610eb286491f30c1bef947be75a9363afc2bdbea7", kill_on_drop: false }` [INFO] [stdout] 8640c47e40beb09d170d1a2610eb286491f30c1bef947be75a9363afc2bdbea7